{"answers":{"affected":"3 open source packages ship an affected version, including github.com/l3montree-dev/devguard.","exploited":"There is no known exploitation of CVE-2026-42300 in the wild and no public exploit code.","fix":"Upgrade github.com/l3montree-dev/devguard to 1.2.2 or later.","what":"CVE-2026-42300 is a critical authentication bypass vulnerability in l3montree-dev devguard, published on 12 May 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-42300 and fix it if it is affected.\n\nWhat it is: CVE-2026-42300 is a critical authentication bypass vulnerability in l3montree-dev devguard, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42300 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/l3montree-dev/devguard (Go): affected all versions; fixed in 1.2.2\n- github.com/l3montree-dev/devguard (Go): affected all versions; fixed in 1.2.2\n- github.com/l3montree-dev/devguard (Go): affected all versions; fixed in 1.2.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-42300/ (Markdown: https://insights.sbomify.com/CVE-2026-42300/index.md)","id":"CVE-2026-42300","markdown":"https://insights.sbomify.com/CVE-2026-42300/index.md","name":"CVE-2026-42300","record":{"aliases":["GHSA-2g9v-7mr5-fgjg","GO-2026-4988"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"DevGuard vulnerability management","requires_auth":"none","summary":"An unauthenticated attacker can impersonate any user, including admins, by supplying a known UUID in the X-Admin-Token header, gaining full control over organization resources.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-288","name":"Authentication Bypass Using an Alternate Path or Channel"}],"description":"DevGuard provides vulnerability management for the full software supply chain. Prior to 1.2.2, the SessionMiddleware accepts a client-supplied X-Admin-Token HTTP request header and uses its raw string value as the authenticated userID when no Kratos session cookie is present. An unauthenticated attacker who knows or can guess a target user's Kratos identity UUID can issue requests as that user. Where the target user is an organisation admin or owner, this gives the attacker full control over that organisation's DevGuard resources. This vulnerability is fixed in 1.2.2.","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":"DevGuard: Unauthenticated identity assertion via `X-Admin-Token` header","id":"CVE-2026-42300","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Improper Input Validation leading to Improper Control of Generation of Code ('Code Injection') in pyp2spec","id":"CVE-2026-42301"},"packages":[{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"github.com/l3montree-dev/devguard","purl":null,"source":"GHSA-2g9v-7mr5-fgjg"},{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"github.com/l3montree-dev/devguard","purl":"pkg:golang/github.com/l3montree-dev/devguard","source":"GHSA-2g9v-7mr5-fgjg"},{"ecosystem":"Go","fixed":["1.2.2"],"introduced":["0"],"last_affected":[],"package":"github.com/l3montree-dev/devguard","purl":"pkg:golang/github.com/l3montree-dev/devguard","source":"GO-2026-4988"}],"prev":{"headline":"Postiz: Arbitrary Code Execution and Token Exfiltration in pr-docker-build.yml via untrusted Dockerfile.dev","id":"CVE-2026-42298"},"products":["devguard"],"published":"2026-05-12","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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-13","vendors":["l3montree-dev"]},"summary":"An unauthenticated attacker can impersonate any user, including admins, by supplying a known UUID in the X-Admin-Token header, gaining full control over organization resources.","url":"https://insights.sbomify.com/CVE-2026-42300/"}