CVE-2026-122312
Kyverno from 1.19.1 before 1.19.2 contains a namespace isolation bypass in APICall Fetch() in pkg/engine/apicall/apiCall.go because path.Clean treats '?' as a …
Impact
Kyverno from 1.19.1 before 1.19.2 contains a namespace isolation bypass in APICall Fetch() in pkg/engine/apicall/apiCall.go because path.Clean treats '?' as a path character, letting the namespace regex match segments inside the query string. Users who can create namespaced policies can supply a URLPath like /api/v1/nodes?x=/namespaces/default/ that passes validation while client-go requests the cluster-scoped endpoint, reading resources outside their namespace.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read. The attack can reach beyond the vulnerable component itself.
Affected products · Kyverno
| Product | Affected versions |
|---|---|
| Kyverno | from 1.19.1 before 1.19.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kyverno/kyverno/commit/f67231def576eb0ad153dd8cbfc836908ab14c14
- https://github.com/kyverno/kyverno/security/advisories/GHSA-pcx2-xcq4-65vf
- https://www.vulncheck.com/advisories/kyverno-1.19.1-before-1.19.2-namespace-isolation-bypass-via-apicall-urlpath-query-string