# CVE-2026-122311: Kyverno path traversal in namespaced CEL policies via resource argument

Source: https://junglewise.ai/threats/cve-2026-122311-kyverno-from-1-16-0-before-1-19-2-fails-to-validate-path  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-05. Updated: 2026-11-05  
License: CC BY 4.0 with a link back

CVE-2026-122311 · Severity: critical · CVSS 9.9 · Published 2026-11-05

Kyverno is a Kubernetes policy engine that validates and manages cluster resources. A tenant with permission to create policies in their own namespace can exploit a path traversal flaw in the resource.get() and resource.post() functions to read and write arbitrary cluster objects using the admission controller's elevated privileges, potentially leading to complete cluster takeover.

Technologies: [Kyverno](https://junglewise.ai/threats/technologies/kyverno). Vendors: [Kyverno](https://junglewise.ai/threats/vendors/kyverno).

## Quick answers

**Is CVE-2026-122311 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-122311 being exploited in the wild.

**How severe is CVE-2026-122311?** Critical severity, with a CVSS score of 9.9, published 5 November 2026.

**Which products and versions are affected?** Kyverno 1.16.0 to 1.19.1.

**Is there a fix for CVE-2026-122311?** Yes: fixed in 1.19.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-122311 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-122311?** Check whether you run Kyverno at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 1.19.2

## Technical details

The vulnerability is a path traversal flaw (CWE-22) in pkg/cel/libs/context.go where the resource argument is not validated for ".." segments before being split and passed to client-go's Get/Create methods. An attacker can craft a NamespacedValidatingPolicy with ".." sequences in the resource parameter to escape namespace confinement and access any cluster object with the Kyverno admission controller's ServiceAccount identity. The flaw affects all namespaced CEL policy types (ValidatingPolicy, MutatingPolicy, etc.) that register resource.Lib.

## Affected products

- Kyverno Kyverno 1.16.0 to 1.19.1

## Timeline

- 2026-10-21: disclosed
- 2026-11-05: advisory

## References

- [https://github.com/kyverno/kyverno/security/advisories/GHSA-4pqm-wqq6-h9q2](https://github.com/kyverno/kyverno/security/advisories/GHSA-4pqm-wqq6-h9q2)
- [https://www.vulncheck.com/advisories/kyverno-1.16.0-before-1.19.2-path-traversal-in-namespaced-cel-policies-via-resource-argument](https://www.vulncheck.com/advisories/kyverno-1.16.0-before-1.19.2-path-traversal-in-namespaced-cel-policies-via-resource-argument)

## Related threats

- [Kyverno authorization bypass in generate rule validation](https://junglewise.ai/threats/cve-2026-124441-kyverno-before-1-19-2-contains-an-authorization-bypass)
- [Kyverno apiCall authorization bypass in namespace clamp](https://junglewise.ai/threats/cve-2026-124440-kyverno-from-1-19-1-before-1-19-2-contains-an-authorization)
- [Kyverno unbounded decompression in notary signature fetch](https://junglewise.ai/threats/cve-2026-122323-kyverno-from-1-11-0-before-1-19-2-contains-an-unbounded)
- [Kyverno verifyImages signature verification bypass via cache](https://junglewise.ai/threats/cve-2026-122321-kyverno-1-18-0-before-1-19-2-contains-a-signature-verification)
- [Kyverno missing authorization in generate.clone namespace](https://junglewise.ai/threats/cve-2026-122320-kyverno-before-1-19-2-contains-a-missing-authorization)
