Automated Threat Modeling

GitLab CVE-2025-2256: Brief Summary of SAML DoS Vulnerability and Affected Versions

CVE-2025-2256 is a denial-of-service vulnerability in the SAML authentication of GitLab CE and EE, affecting versions 7.12 through 18.1.5, 18.2.0 through 18.2.5, and 18.3.0 through 18.3.1. This summary covers the technical details, the affected versions, and references to the official advisories.

CVE Analysis

8 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-09-11

GitLab CVE-2025-2256: Brief Summary of SAML DoS Vulnerability and Affected Versions
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

Development teams that rely on GitLab for source code management and CI/CD could face total service disruption from a single network-based attack. CVE-2025-2256 lets any external actor make an affected GitLab instance unresponsive to all legitimate users by sending it multiple large SAML responses.

About GitLab: GitLab is a widely adopted DevSecOps platform with millions of users worldwide. Organizations of all sizes use it for source code management, CI/CD, and project collaboration. Both Community Edition (CE) and Enterprise Edition (EE) are used across industries, so vulnerabilities in GitLab have a high impact on the global technology ecosystem.

Technical Information

CVE-2025-2256 is a denial-of-service vulnerability in the SAML authentication flow of GitLab CE and EE. It comes from improper validation of the size and concurrency of SAML responses (CWE-1284: Improper Validation of Specified Quantity in Input).

Mechanism:

  1. An attacker sends multiple concurrent SAML authentication requests with excessively large SAML responses to the GitLab SAML endpoint.
  2. GitLab does not properly validate or limit the size and number of these incoming SAML responses.
  3. The authentication subsystem is overwhelmed and consumes excessive CPU and memory resources.
  4. The resulting resource exhaustion makes the instance unresponsive to all users.

Key technical points:

  • Exploiting this issue requires no authentication.
  • An attacker can launch the attack remotely against any GitLab instance that has SAML authentication enabled.
  • The vulnerability affects both Community and Enterprise Editions.
  • yuki_osaki discovered the issue and disclosed it responsibly through HackerOne.

Affected Systems and Versions

  • GitLab Community Edition (CE) and Enterprise Edition (EE)
  • All versions from 7.12 before 18.1.6
  • 18.2 before 18.2.6
  • 18.3 before 18.3.2
  • Any deployment with SAML authentication enabled is vulnerable

Vendor Security History

GitLab has previously patched critical vulnerabilities in authentication, including SAML-related flaws (e.g., CVE-2024-45409, CVE-2025-25291, CVE-2025-25292). GitLab runs a monthly release cycle and a public bug bounty program, and it typically responds to critical vulnerabilities promptly, with coordinated advisories and patches across supported versions.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization