Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/l3montree-dev/devguard
  4. ›
  5. CVE-2026-42300

CVE-2026-42300: DevGuard has an unauthenticated identity assertion via `X-Admin-Token` header

May 5, 2026

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.

References

  • github.com/advisories/GHSA-2g9v-7mr5-fgjg
  • github.com/l3montree-dev/devguard
  • github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a
  • github.com/l3montree-dev/devguard/security/advisories/GHSA-2g9v-7mr5-fgjg
  • nvd.nist.gov/vuln/detail/CVE-2026-42300

Code Behaviors & Features

Detect and mitigate CVE-2026-42300 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.2

Fixed versions

  • 1.2.2

Solution

Upgrade to version 1.2.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-288: Authentication Bypass Using an Alternate Path or Channel

Source file

go/github.com/l3montree-dev/devguard/CVE-2026-42300.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:20:48 +0000.