{"answers":{"affected":"4 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54523 exists.","fix":"Upgrade github.com/kyverno/kyverno to 1.18.2 or later.","what":"CVE-2026-54523 is a critical missing authorization vulnerability in kyverno, published on 26 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54523 and fix it if it is affected.\n\nWhat it is: CVE-2026-54523 is a critical missing authorization vulnerability in kyverno, published on 26 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54523 exists.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected from 1.18.0; fixed in 1.18.2\n- github.com/kyverno/kyverno (Go): affected from 1.18.0; fixed in 1.18.2\n- github.com/kyverno/kyverno (Go): affected from 1.18.0; fixed in 1.18.2\n- kyverno (Bitnami): affected from 1.18.0; fixed in 1.18.2\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-2026-54523/ (Markdown: https://insights.sbomify.com/CVE-2026-54523/index.md)","id":"CVE-2026-54523","markdown":"https://insights.sbomify.com/CVE-2026-54523/index.md","name":"CVE-2026-54523","record":{"aliases":["BIT-kyverno-2026-54523","GHSA-79gf-7frw-68m9","GO-2026-6296","MINI-7cq4-9crw-622g","MINI-qcvp-x689-gm2g","MINI-rprx-gwrq-8544","MINI-vc7g-jm2r-88hj"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy engine","requires_auth":"low_privilege","summary":"A namespace-scoped user can exploit unvalidated namespace arguments to force cluster-wide controllers to create resources in arbitrary namespaces, enabling privilege escalation.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"Kyverno is a policy engine designed for cloud native platform engineering teams. From 1.18.0 until 1.18.2, the NamespacedMutatingPolicy CEL compiler exposes the generator library to matchConditions, allowing a namespace-scoped policy to invoke generator.apply(namespace, resources) with an arbitrary target namespace. The validation in pkg/cel/policies/mpol/validate.go checks that the policy compiles but does not enforce namespace scope, and GenerateResources in pkg/cel/libs/context.go does not reject the cross-namespace target. A user who can create NamespacedMutatingPolicy objects in one namespace can cause the admission controller, operating with cluster-wide privileges, to create ConfigMaps, NetworkPolicies, Secrets, RoleBindings, and other resources in another namespace, enabling unauthorized modification and potential privilege escalation. This issue is fixed in version 1.18.2.","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's NamespacedGeneratingPolicy generator.apply() namespace argument unvalidated -- background controller creates RoleBindings in any namespace including kube-system","id":"CVE-2026-54523","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"Frappe HR: SQL Injection in HRMS Salary Payments Based on Payment Mode Report","id":"CVE-2026-54524"},"packages":[{"ecosystem":"Bitnami","fixed":["1.18.2"],"introduced":["1.18.0"],"last_affected":[],"package":"kyverno","purl":"pkg:bitnami/kyverno","source":"BIT-kyverno-2026-54523"},{"ecosystem":"Go","fixed":["1.18.2"],"introduced":["1.18.0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":null,"source":"GHSA-79gf-7frw-68m9"},{"ecosystem":"Go","fixed":["1.18.2"],"introduced":["1.18.0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GHSA-79gf-7frw-68m9"},{"ecosystem":"Go","fixed":["1.18.2"],"introduced":["1.18.0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2026-6296"}],"prev":{"headline":"MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure","id":"CVE-2026-54522"},"products":["kyverno"],"published":"2026-08-26","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-26","vendors":["kyverno"]},"summary":"A namespace-scoped user can exploit unvalidated namespace arguments to force cluster-wide controllers to create resources in arbitrary namespaces, enabling privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-54523/"}