{"answers":{"affected":"3 open source packages ship an affected version, including github.com/juju/juju.","exploited":"There is no known exploitation of CVE-2026-1237 in the wild and no public exploit code.","fix":"No fix published yet.","what":"CVE-2026-1237 is a low-severity authentication bypass vulnerability in Canonical juju, published on 28 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-1237 and fix it if it is affected.\n\nWhat it is: CVE-2026-1237 is a low-severity authentication bypass vulnerability in Canonical juju, published on 28 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-1237 in the wild and no public exploit code.\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-20260127110037-9b1a0e53a4a4; no fix listed\n- github.com/juju/juju (Go): affected all versions up to 0.0.0-20260127110037-9b1a0e53a4a4; 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-1237/ (Markdown: https://insights.sbomify.com/CVE-2026-1237/index.md)","id":"CVE-2026-1237","markdown":"https://insights.sbomify.com/CVE-2026-1237/index.md","name":"CVE-2026-1237","record":{"aliases":["GHSA-j477-6vpg-6c8x","GO-2026-4388"],"analysis":{"component_type":"cloud_service","fix_type":"no_fix_stated","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Juju orchestration tool","requires_auth":"low_privilege","summary":"A malicious user can mint invalid macaroons to bypass revoked cross-model permissions, allowing unauthorized charm relations and workload access.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"canonical","cpe":[],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"Vulnerable cross-model authorization in juju. If a charm's cross-model permissions are revoked or expire, a malicious user who is able to update database records can mint an invalid macaroon that is incorrectly validated by the juju controller, enabling a charm to maintain otherwise revoked or expired permissions. This allows a charm to continue relating to another charm in a cross-model relation, and use their workload without their permission. No fix is available as of the time of writing.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Juju has broken CMR authorization","id":"CVE-2026-1237","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":"SlimStat Analytics \u003c= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via 'fh'","id":"CVE-2026-1238"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GO-2026-4388"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20260127110037-9b1a0e53a4a4"],"package":"github.com/juju/juju","purl":null,"source":"GHSA-j477-6vpg-6c8x"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.0.0-20260127110037-9b1a0e53a4a4"],"package":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","source":"GHSA-j477-6vpg-6c8x"}],"prev":{"headline":"Cross-site scripting in Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows \u0026 More","id":"CVE-2026-1236"},"products":["juju"],"published":"2026-01-28","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-28","vendors":["Canonical"]},"summary":"A malicious user can mint invalid macaroons to bypass revoked cross-model permissions, allowing unauthorized charm relations and workload access.","url":"https://insights.sbomify.com/CVE-2026-1237/"}