{"answers":{"affected":"4 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29778 exists.","fix":"Upgrade github.com/kyverno/kyverno to 1.14.0-alpha.1 or later.","what":"CVE-2025-29778 is a medium-severity authentication bypass vulnerability in kyverno, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-29778 and fix it if it is affected.\n\nWhat it is: CVE-2025-29778 is a medium-severity authentication bypass vulnerability in kyverno, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-29778 exists.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.14.0-alpha.1\n- github.com/kyverno/kyverno (Go): affected from 1.13.0; fixed in 1.14.0-alpha.1\n- github.com/kyverno/kyverno (Go): affected from 1.13.0; fixed in 1.14.0-alpha.1\n- kyverno (Bitnami): affected all versions; fixed in 1.14.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-29778/ (Markdown: https://insights.sbomify.com/CVE-2025-29778/index.md)","id":"CVE-2025-29778","markdown":"https://insights.sbomify.com/CVE-2025-29778/index.md","name":"CVE-2025-29778","record":{"aliases":["BIT-kyverno-2025-29778","GHSA-46mp-8w32-6g94","GO-2025-3562","MINI-3gmf-mx96-c8fv","MINI-3m24-pc86-v9x5","MINI-95qh-8v3j-mc4m","MINI-prjq-27j5-qgvw","MINI-rpmx-cf7f-vcgj"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy engine","requires_auth":"high_privilege","summary":"Kyverno fails to validate certificate subject and issuer regexes in keyless mode, allowing attackers to deploy unauthorized resources and compromise the cluster.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kyverno","vendor":"kyverno"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Kyverno ignores subjectRegExp and IssuerRegExp","id":"CVE-2025-29778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":4,"n_references":5,"next":{"headline":"Post-Quantum Secure Feldman's Verifiable Secret Sharing has Inadequate Fault Injection Countermeasures in `secure_redundant_execution`","id":"CVE-2025-29779"},"packages":[{"ecosystem":"Bitnami","fixed":["1.14.0"],"introduced":["0"],"last_affected":[],"package":"kyverno","purl":"pkg:bitnami/kyverno","source":"BIT-kyverno-2025-29778"},{"ecosystem":"Go","fixed":["1.14.0-alpha.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2025-3562"},{"ecosystem":"Go","fixed":["1.14.0-alpha.1"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":null,"source":"GHSA-46mp-8w32-6g94"},{"ecosystem":"Go","fixed":["1.14.0-alpha.1"],"introduced":["1.13.0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GHSA-46mp-8w32-6g94"}],"prev":{"headline":"Azle calling `setTimer` causes infinite loop of timers","id":"CVE-2025-29776"},"products":["kyverno"],"published":"2025-03-24","related":[{"cvss_score":10,"headline":"Kyverno Cross-Namespace Privilege Escalation via Policy apiCall","id":"CVE-2026-22039","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":9.8,"headline":"CVE-2026-4789","id":"CVE-2026-4789","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":8.6,"headline":"Kyverno vulnerable to bypass of policy rules that use namespace selectors in match statements","id":"CVE-2025-46342","kev_date_added":null,"published":"2025-04-30"},{"cvss_score":8.1,"headline":"Kyverno: ServiceAccount token leaked to external servers via apiCall service URL","id":"CVE-2026-41323","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.1,"headline":"kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token","id":"CVE-2026-40868","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.1,"headline":"kyverno verifyImages rule bypass possible with malicious proxy/registry","id":"CVE-2022-47633","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":7.7,"headline":"Kyverno: Cross-Namespace Read Bypasses RBAC Isolation (CVE-2026-22039 Incomplete Fix)","id":"CVE-2026-41068","kev_date_added":null,"published":"2026-04-24"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-24","vendors":["kyverno"]},"summary":"Kyverno fails to validate certificate subject and issuer regexes in keyless mode, allowing attackers to deploy unauthorized resources and compromise the cluster.","url":"https://insights.sbomify.com/CVE-2025-29778/"}