CVE-2025-46342 Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to versions 1.13.5 and 1.14.0, it may happen that policy rules using namespace selector(s) in their match statements are mistakenly not applied during admission review request processing due to a missing error propagation in function GetNamespaceSelectorsFromNamespaceLister in pkg/utils/engine/labels.go. As a consequence, security-critical mutations and validations are bypassed, potentially allowing attackers with K8s API access to perform malicious operations. This issue has been patched in versions 1.13.5 and 1.14.0.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kyverno | <= 1.11.5; = < 1.13.5; = >= 1.14.0-alpha.1, < 1.14.0; >= 1.12.0, < 1.13.5 | 1.13.5 | Fixed |
| kyverno(Go) | < 1.13.5; >= 1.14.0-alpha.1, < 1.14.0 | 1.13.5, 1.14.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kyverno(Go) | < 1.13.5 | 1.13.5 |
| kyverno(Go) | >= 1.14.0-alpha.1, < 1.14.0 | 1.14.0 |
| kyverno | = < 1.13.5 | No fix listed |
| kyverno | = >= 1.14.0-alpha.1, < 1.14.0 | No fix listed |
| kyverno | <= 1.11.5 | No fix listed |
| kyverno | >= 1.12.0, < 1.13.5 | 1.13.5 |
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-jrr2-x33p-6hvc exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/kyverno/kyverno/commit/3ff923b7756e1681daf73849954bd88516589194 patch
- github.com product
- pkg.go.dev
- github.com