GitLab CE/EE Improper XPath Validation in SAML Response Bypasses 2FA

Vulnerability

A vulnerability exists in GitLab CE/EE versions 11.1 prior to 17.10.7, 17.11 prior to 17.11.3, and 18.0 prior to 18.0.1. The issue arises from improper validation of XPath, which allows a modified SAML response to bypass the two-factor authentication (2FA) requirement under certain conditions.

Impact

Exploitation of this vulnerability allows for bypassing two-factor authentication, potentially leading to unauthorized access to user accounts.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
7.3
impact
5.0
exploitability
5.0
remediation
0.0
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.