Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kyverno | kyverno | 1.19.1 – < 1.19.2 | 1.19.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kyverno-1.17 | 1.17.2-r46 | — |
| Wolfi rolling | kyverno-1.18 | 1.18.2-r26 | — |
Advisories 1
- WID-SEC-2026-4096 Kyverno: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
References
- GitHub Security Advisory (GHSA-pcx2-xcq4-65vf) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Kyverno 1.19.1 before 1.19.2 Namespace Isolation Bypass via APICall URLPath Query String third-party-advisory