Advisory record · GHSA-2g9v-7mr5-fgjg

DevGuard has an unauthenticated identity assertion via `X-Admin-Token` header

CVSS 9.3 CriticalCriticalEPSS 0.0026 · 17th percentile

Critical, because:

  • CVSS score 9.3: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 5 May 2026, 20:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/l3montree-dev/devguardGo<1.2.21.2.2
Identifiers
GHSA-2g9v-7mr5-fgjg · CVE-2026-42300 · GO-2026-4988
Weakness (CWE)
CWE-288
Published
5 May 2026
Updated
20 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

DevGuard (Go package github.com/l3montree-dev/devguard) versions before 1.2.2 accept a client-supplied X-Admin-Token request header and treat its raw value as the authenticated user ID when no Kratos session cookie is present. An unauthenticated attacker who knows or can guess a target user's Kratos identity UUID can act as that user, which, for an organization admin or owner, gives full control over that organization's resources. Upgrade to version 1.2.2 or later. As a workaround, configure a reverse proxy to strip the X-Admin-Token header before requests reach the API.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.3 Critical 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0026, the 17th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:08 UTC First seen by agentprime
  2. 31 Oct 2026, 15:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.