{"id":"CVE-2026-42300","aliases":["CVE-2026-42300","GHSA-2g9v-7mr5-fgjg","GO-2026-4988"],"related":[],"kind":"vulnerability","state":"published","title":"DevGuard: Unauthenticated identity assertion via `X-Admin-Token` header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe `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.\n\n### Patches\nThe release v1.2.2 patches this issue. Update your DevGuard API Instances to this version.\n\n### Workarounds\nConfigure a reverse proxy to strip the `X-Admin-Token` header before sending requests to the DevGuard API.\n\n### Resources\nFixed commit: https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a","format":"markdown","source":"ghsa"},{"lang":"en","text":"DevGuard has an unauthenticated identity assertion via `X-Admin-Token` header in github.com/l3montree-dev/devguard","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-05T20:58:27.000Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"}],"cwes":["CWE-288"],"affected":[{"ranges":[{"version":"< 1.2.2","status":"affected"}],"vendor":"l3montree-dev","product":"devguard","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/l3montree-dev/devguard","purl":"pkg:golang/github.com/l3montree-dev/devguard","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.2.2"}],"ecosystem":"Go","package":"github.com/l3montree-dev/devguard","purl":"pkg:golang/github.com/l3montree-dev/devguard","source":"go"}],"references":[{"url":"https://github.com/l3montree-dev/devguard/security/advisories/GHSA-2g9v-7mr5-fgjg","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42300","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/l3montree-dev/devguard","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-13T14:38:09.427Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42300","url":"https://www.cve.org/CVERecord?id=CVE-2026-42300","licence":"CVE Terms of Use","modified":"2026-05-13T14:38:30.688Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2g9v-7mr5-fgjg","url":"https://github.com/advisories/GHSA-2g9v-7mr5-fgjg","licence":"CC-BY-4.0","modified":"2026-05-20T19:41:10.906Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4988","url":"https://pkg.go.dev/vuln/GO-2026-4988","licence":"CC-BY-4.0","modified":"2026-05-20T19:30:12.893Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42300","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42300","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.444Z","epss":{"score":0.00435,"percentile":0.29661,"date":"2026-11-30T12:00:22.000Z"}}