# CVE-2026-42300: DevGuard: Unauthenticated identity assertion via `X-Admin-Token` header

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-05-05T20:58:27.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-2g9v-7mr5-fgjg, GO-2026-4988
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- l3montree-dev devguard: < 1.2.2
- github.com/l3montree-dev/devguard (Go): before 1.2.2

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/l3montree-dev/devguard/security/advisories/GHSA-2g9v-7mr5-fgjg> (advisory, web)
- <https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42300> (advisory)
- <https://github.com/l3montree-dev/devguard> (package)

## Sources

- CVE List: [CVE-2026-42300](https://www.cve.org/CVERecord?id=CVE-2026-42300), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-2g9v-7mr5-fgjg](https://github.com/advisories/GHSA-2g9v-7mr5-fgjg), CC-BY-4.0, modified 2026-05-20
- Go Vulnerability Database: [GO-2026-4988](https://pkg.go.dev/vuln/GO-2026-4988), CC-BY-4.0, modified 2026-05-20
- NVD: [CVE-2026-42300](https://nvd.nist.gov/vuln/detail/CVE-2026-42300), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42300 · Whole record: https://cve.day/CVE-2026-42300.json · Rebuilt by cve.day 2026-11-25T22:59:21.444Z
