Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-2g9v-7mr5-fgjg

Опубликовано: 05 мая 2026
Источник: github
Github: Прошло ревью
CVSS4: 9.3

Описание

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

Impact

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.

Patches

The release v1.2.2 patches this issue. Update your DevGuard API Instances to this version.

Workarounds

Configure a reverse proxy to strip the X-Admin-Token header before sending requests to the DevGuard API.

Resources

Fixed commit: https://github.com/l3montree-dev/devguard/commit/6f38310bf93b2a63df3055038f4da82b1f4e6d9a

Пакеты

Наименование

github.com/l3montree-dev/devguard

go
Затронутые версииВерсия исправления

< 1.2.2

1.2.2

EPSS

Процентиль: 17%
0.00257
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-288

Связанные уязвимости

nvd
3 месяца назад

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.

EPSS

Процентиль: 17%
0.00257
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-288