Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/projectcapsule/capsule
  4. ›
  5. CVE-2026-65835

CVE-2026-65835: Capsule has an incomplete fix of CVE-2026-22872: TenantResource RawItems and Generators still allow cluster-scoped resource creation (cross-tenant privilege escalation)

July 31, 2026

CVE-2026-22872 (GHSA-qjjm-7j9w-pw72) reported that a Tenant Owner could create cluster-scoped resources (e.g. ClusterRole, ValidatingWebhookConfiguration) through a TenantResource, because the controller applies them with its cluster-admin ServiceAccount and SetNamespace is ineffective for cluster-scoped kinds. The v0.13.0 fix added a cluster-scope rejection guard, but only on the NamespacedItems selection path (ResourceReference.LoadResources -> IsNamespacedGVK, error "cluster-scoped kind ... is not allowed"). The RawItems create path — the exact vector the original advisory named — and the Generators path were not given this guard. The vulnerability therefore persists in all releases v0.13.0 through v0.13.7 and on trunk HEAD (8d89d6865d).

References

  • github.com/advisories/GHSA-jr6p-8pjj-mfx6
  • github.com/projectcapsule/capsule/releases/tag/v0.13.8
  • github.com/projectcapsule/capsule/security/advisories/GHSA-jr6p-8pjj-mfx6
  • nvd.nist.gov/vuln/detail/CVE-2026-65835

Code Behaviors & Features

Detect and mitigate CVE-2026-65835 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.13.0 before 0.13.8

Fixed versions

  • 0.13.8

Solution

Upgrade to version 0.13.8 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-863: Incorrect Authorization

Source file

go/github.com/projectcapsule/capsule/CVE-2026-65835.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:04 +0000.