CVE-2025-46342 Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements
Attackers with Kubernetes API access can bypass security policies by exploiting a logic error in namespace selector processing, allowing unauthorized operations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-46342?
CVE-2025-46342 is a high-severity vulnerability in kyverno, published on 30 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-1287
Which versions are affected by CVE-2025-46342?
6 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kyverno/kyverno Go | All versions | 1.13.5, 1.14.0 |
github.com/kyverno/kyverno Go | All versions | 1.13.5 |
github.com/kyverno/kyverno Go | All versions | 1.13.5 |
github.com/kyverno/kyverno Go | From 1.14.0-alpha.1 | 1.14.0 |
github.com/kyverno/kyverno Go | From 1.14.0-alpha.1 | 1.14.0 |
kyverno Bitnami | All versions | 1.13.5 |
Products include Kyverno Kyverno.
How do I fix CVE-2025-46342?
Upgrade github.com/kyverno/kyverno to a fixed version for your release line: 1.13.5 or 1.14.0.
Is CVE-2025-46342 being exploited?
There is no known exploitation of CVE-2025-46342 in the wild and no public exploit code.
Other vulnerabilities in kyverno
- CVE-2026-22039 Kyverno Cross-Namespace Privilege Escalation via Policy apiCall
- CVE-2026-4789 CVE-2026-4789
- CVE-2026-41323 Kyverno: ServiceAccount token leaked to external servers via apiCall service URL
- CVE-2026-40868 kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token
- CVE-2022-47633 kyverno verifyImages rule bypass possible with malicious proxy/registry
Sources
Also known as BIT-kyverno-2025-46342, CLEANSTART-2026-SI37771, CLEANSTART-2026-VJ98320, GHSA-jrr2-x33p-6hvc, GO-2025-3652, MINI-46pj-wj5h-xmgc and 4 more.