Advisories for Golang/Github.com/L3montree-Dev/Devguard package

2026

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

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.