Skip to content
OpenAdvisories
High · 8.6 CVE-2025-46342 BIT-kyverno-2025-46342EUVD-2025-12613GHSA-jrr2-x33p-6hvcGO-2025-3652

Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements

Published Apr 30, 2025 · Updated Apr 30, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
kyverno kyverno < 1.13.5, >= 1.14.0-alpha.1, < 1.14.0 —

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.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250506T153719-1.1 openSUSE-SU-2025:15059-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kyverno-notation-aws +1 1.1-r14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kyverno/kyverno < 1.13.5 1.13.5 GHSA-jrr2-x33p-6hvc
Go github.com/kyverno/kyverno >= 1.14.0-alpha.1, < 1.14.0 1.14.0 GHSA-jrr2-x33p-6hvc
Go github.com/kyverno/kyverno < 1.13.5 · >= 1.14.0-alpha.1, < 1.14.0 1.13.5, 1.14.0 GO-2025-3652

Advisories 1

References