9.3critical
DevGuard: Unauthenticated identity assertion via `X-Admin-Token` header
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 30% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2g9v-7mr5-fgjgGO-2026-4988
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| l3montree-dev devguard | < 1.2.2 | CVE List |
| github.com/l3montree-dev/devguard (Go) | before 1.2.2 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 9.3critical 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 |
| GitHub | critical 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
The release v1.2.2 patches this issue. Update your DevGuard API Instances to this version.
Workarounds
Configure a reverse proxy to strip the X-Admin-Token header before sending requests to the DevGuard API.
Resources
Fixed commit: https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a
Go Vulnerability Database
DevGuard has an unauthenticated identity assertion via X-Admin-Token header in github.com/l3montree-dev/devguard
NVD (es)
DevGuard proporciona gestión de vulnerabilidades para toda la cadena de suministro de software. Antes de la versión 1.2.2, el SessionMiddleware acepta un encabezado de solicitud HTTP X-Admin-Token proporcionado por el cliente y utiliza su valor de cadena sin procesar como el userID autenticado cuando no hay una cookie de sesión de Kratos presente. Un atacante no autenticado que conoce o puede adivinar el UUID de identidad de Kratos de un usuario objetivo puede emitir solicitudes como ese usuario. Cuando el usuario objetivo es un administrador o propietario de una organización, esto le da al atacante control total sobre los recursos de DevGuard de esa organización. Esta vulnerabilidad está corregida en la versión 1.2.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42300 changed 2026-05-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2g9v-7mr5-fgjg changed 2026-05-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4988 changed 2026-05-20 | CC-BY-4.0 |
| NVD | CVE-2026-42300 changed 2026-10-26 | Public domain |