Auth bypass in Kyverno
CVE-2025-29778
Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to version 1.14.0-alpha.1, Kyverno ignores subjectRegExp and IssuerRegExp while verifying artifact's sign with keyless mode. It allows the attacker to deploy kubernetes resources with the artifacts that were signed by unexpected certificate. Deploying these unauthorized kubernetes resources can lead to full compromise of kubernetes cluster. Version 1.14.0-alpha.1 contains a patch for the issue.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 28.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kyverno — versions < 1.14.0-alpha.1
Weakness classification (CWE)
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-46mp-8w32-6g94 (Exploit, Vendor Advisory)
- https://github.com/kyverno/policies/issues/1246 (Exploit, Issue Tracking)
- https://github.com/kyverno/kyverno/pull/12237 (Issue Tracking)
- https://github.com/kyverno/kyverno/commit/8777672fb17bdf252bd2e7d8de3441e240404a60 (Patch)
- https://github.com/Mohdcode/kyverno/blob/373f942ea9fa8b63140d0eb0e101b9a5f71033f3/pkg/cosign/cosign.go#L537 (Product)