Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/kyverno/kyvernoGo | < 1.13.5 | 1.13.5 |
github.com/kyverno/kyvernoGo | >= 1.14.0-alpha.1, < 1.14.0 | 1.14.0 |
Affected products
10- osv-coords9 versionspkg:apk/chainguard/kyverno-notation-awspkg:apk/chainguard/kyverno-notation-aws-compatpkg:apk/chainguard/reports-serverpkg:apk/chainguard/reports-server-compatpkg:apk/wolfi/kyverno-notation-awspkg:apk/wolfi/kyverno-notation-aws-compatpkg:bitnami/kyvernopkg:golang/github.com/kyverno/kyvernopkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
< 1.1-r14+ 8 more
- (no CPE)range: < 1.1-r14
- (no CPE)range: < 1.1-r14
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 1.1-r14
- (no CPE)range: < 1.1-r14
- (no CPE)range: < 1.13.5
- (no CPE)range: < 1.13.5
- (no CPE)range: < 0.0.20250506T153719-1.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-jrr2-x33p-6hvcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-46342ghsaADVISORY
- github.com/kyverno/kyverno/commit/3ff923b7756e1681daf73849954bd88516589194ghsax_refsource_MISCWEB
- github.com/kyverno/kyverno/security/advisories/GHSA-jrr2-x33p-6hvcghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2025-3652ghsaWEB
News mentions
0No linked articles in our index yet.