Authentication Bypass Using an Alternate Path or Channel Affecting github.com/l3montree-dev/devguard/integrations/gitlabint package, versions <1.2.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOML3MONTREEDEVDEVGUARDINTEGRATIONSGITLABINT-16424182
  • published6 May 2026
  • disclosed5 May 2026
  • creditUnknown

Introduced: 5 May 2026

CVE-2026-42300  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade github.com/l3montree-dev/devguard/integrations/gitlabint to version 1.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel in the SessionMiddleware process when the X-Admin-Token HTTP header is accepted from the client and its raw value is used as the authenticated user ID if no Kratos session cookie is present. An attacker can gain unauthorized access and perform actions as another user, including full control over organization resources, by supplying a known or guessed Kratos identity UUID in the header.

Workaround

This vulnerability can be mitigated by configuring a reverse proxy to strip the X-Admin-Token header before forwarding requests.

CVSS Base Scores

version 4.0
version 3.1