CVE-2026-42300
CRITICAL 9.3CVSS 4.0DevGuard has an unauthenticated identity assertion via `X-Admin-Token` header
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.
- Published
- 12 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-288
- Also known as
- GHSA-2g9v-7mr5-fgjgGO-2026-4988
- Sources
- NVDJSONOSV GHSA-2g9v-7mr5-fgjgJSONOSV GO-2026-4988JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/l3montree-dev/devguard | < 1.2.2 | 1.2.2 |
References
- https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a · WEB, FIX
- https://github.com/l3montree-dev/devguard/security/advisories/GHSA-2g9v-7mr5-fgjg · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42300 · ADVISORY
- https://github.com/l3montree-dev/devguard · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2026)