CVE-2025-46342
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.
How to fix CVE-2025-46342
To remediate CVE-2025-46342, upgrade the affected package to a fixed version below.
- —upgrade to 1.13.5 or later
- —upgrade to 1.13.5 or later
- —upgrade to 1.13.5 or later
Is CVE-2025-46342 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.13.5
- from 0, < 1.13.5
- from 0, < 1.13.5, >= 1.14.0-alpha.1, < 1.14.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |