CVE-2026-42300: Github.com/l3montree dev/devguard DevGuard Has An Unauthenticated Identity Vulnerability
CRITICALCVE-2026-42300 is a CRITICAL devguard has an unauthenticated identity vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Github.com/l3montree dev/devguard libraries in the Go ecosystem. The issue involves devguard has an unauthenticated identity assertion via `x-admin-token` header. Remediation is available by upgrading affected packages to version 1.2.2.
CVE-2026-42300 at a Glance
How to Fix CVE-2026-42300
To remediate this vulnerability, upgrade all affected Github.com/l3montree dev/devguard dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/l3montree-dev/devguard to 1.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/l3montree-dev/devguard
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-42300, inspect your project dependencies for Github.com/l3montree dev/devguard:
inspect dependencies for github.com/l3montree-dev/devguard
Analyze the terminal output to locate any version of Github.com/l3montree dev/devguard in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Github.com/l3montree dev/devguard, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42300 Affected Github.com/l3montree dev/devguard Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/l3montree-dev/devguard
|
Go |
< 1.2.2
|
1.2.2
|
References
Frequently Asked Questions
What is CVE-2026-42300?
Which Github.com/l3montree dev/devguard versions are affected?
What version fixes CVE-2026-42300?
Is github.com/l3montree-dev/devguard affected?
What CWE is associated with CVE-2026-42300?
How can I check Go dependencies for CVE-2026-42300?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2g9v-7mr5-fgjg",
"modified" : "2026-05-13T16:26:37Z",
"published" : "2026-05-05T20:58:27Z",
"aliases" : [ "CVE-2026-42300" ],
"summary" : "DevGuard has an unauthenticated identity assertion via `X-Admin-Token` header",
"details" : "### 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",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/l3montree-dev/devguard"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/l3montree-dev/devguard/security/advisories/GHSA-2g9v-7mr5-fgjg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42300"
}, {
"type" : "WEB",
"url" : "https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/l3montree-dev/devguard"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-288" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T20:58:27Z",
"nvd_published_at" : "2026-05-12T18:17:24Z"
}
}