Incorrect Authorization Affecting github.com/projectcapsule/capsule/pkg/webhook/namespace/validation package, versions <0.10.4


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROJECTCAPSULECAPSULEPKGWEBHOOKNAMESPACEVALIDATION-12082320
  • published21 Aug 2025
  • disclosed18 Aug 2025
  • creditUnknown

Introduced: 18 Aug 2025

CVE-2025-55205  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/projectcapsule/capsule/pkg/webhook/namespace/validation to version 0.10.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the OnUpdate function in the patch.go file. An attacker can gain unauthorized access to system namespaces and potentially escalate privileges by injecting arbitrary labels into protected namespaces through authenticated actions by tenant users.

References

CVSS Base Scores

version 4.0
version 3.1