{"answers":{"affected":"3 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4370 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-4370 is a critical authentication bypass vulnerability in Canonical Juju, published on 1 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4370 and fix it if it is affected.\n\nWhat it is: CVE-2026-4370 is a critical authentication bypass vulnerability in Canonical Juju, published on 1 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4370 exists.\n\nAffected packages and fixed versions:\n- github.com/juju/juju (Go): affected all versions; no fix listed\n- github.com/juju/juju (Go): affected all versions up to 0.0.0-20260401092550-1c1ac1922b57; no fix listed\n- github.com/juju/juju (Go): affected all versions up to 0.0.0-20260401092550-1c1ac1922b57; no fix listed\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-4370/ (Markdown: https://insights.sbomify.com/CVE-2026-4370/index.md)","id":"CVE-2026-4370","markdown":"https://insights.sbomify.com/CVE-2026-4370/index.md","name":"CVE-2026-4370","record":{"aliases":["GHSA-gvrj-cjch-728p","GO-2026-5405"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Juju orchestration tool","requires_auth":"none","summary":"An unauthenticated attacker can join the Juju Dqlite database cluster due to missing certificate validation, gaining full read and write access to the data.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[{"product":"juju","vendor":"canonical"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"A vulnerability was identified in Juju from version 3.2.0 until 3.6.19 and from version 4.0 until 4.0.4, where the internal Dqlite database cluster fails to perform proper TLS client and server authentication. Specifically, the Juju controller's database endpoint does not validate client certificates when a new node attempts to join the cluster. An unauthenticated attacker with network reachability to the Juju controller's Dqlite port can exploit this flaw to join the database cluster. Once joined, the attacker gains full read and write access to the underlying database, allowing for total data compromise.","ecosystems":["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":"Improper TLS Client/Server authentication and certificate verification on Database Cluster","id":"CVE-2026-4370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Out of bounds read in IMAP parsing","id":"CVE-2026-4371"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GO-2026-5405"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20260401092550-1c1ac1922b57"],"package":"github.com/juju/juju","purl":null,"source":"GHSA-gvrj-cjch-728p"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20260401092550-1c1ac1922b57"],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-gvrj-cjch-728p"}],"prev":{"headline":"Stored Cross-Site Scripting (XSS) Vulnerability in Assembly Variant Name","id":"CVE-2026-4369"},"products":["Juju"],"published":"2026-04-01","related":[{"cvss_score":9.9,"headline":"Juju CloudSpec API could leak senstive information","id":"CVE-2026-5412","kev_date_added":null,"published":"2026-04-10"},{"cvss_score":9.8,"headline":"Juju uses a UNIX domain socket without setting appropriate permissions","id":"CVE-2017-9232","kev_date_added":null,"published":"2017-05-28"},{"cvss_score":8.8,"headline":"Unauthorized access to Kubernetes secrets in Juju","id":"CVE-2026-32693","kev_date_added":null,"published":"2026-03-18"},{"cvss_score":8.8,"headline":"Arbitrary executable upload via authenticated endpoint","id":"CVE-2025-0928","kev_date_added":null,"published":"2025-07-08"},{"cvss_score":8.8,"headline":"Zip slip vulnerability in Juju","id":"CVE-2025-53513","kev_date_added":null,"published":"2025-07-08"},{"cvss_score":8.8,"headline":"Juju's unprivileged user running on charm node can leak any secret or relation data accessible to the local charm","id":"CVE-2024-6984","kev_date_added":null,"published":"2024-07-29"}],"sources":[{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["Canonical"]},"summary":"An unauthenticated attacker can join the Juju Dqlite database cluster due to missing certificate validation, gaining full read and write access to the data.","url":"https://insights.sbomify.com/CVE-2026-4370/"}