Skip to main content

CVE-2025-3279: GitLab GraphQL Denial of Service Vulnerability

CVE-2025-3279 is a denial of service vulnerability in GitLab CE/EE that allows authenticated attackers to create DoS conditions through crafted GraphQL requests. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-3279 Overview

CVE-2025-3279 is a denial of service (DoS) vulnerability affecting GitLab Community Edition (CE) and Enterprise Edition (EE). The flaw allows authenticated attackers to exhaust server resources by sending crafted GraphQL requests. The issue impacts all GitLab versions from 10.7 before 17.11.5, 18.0 before 18.0.3, and 18.1 before 18.1.1. The vulnerability is tracked under [CWE-770: Allocation of Resources Without Limits or Throttling].

Critical Impact

Authenticated attackers can degrade or disable GitLab availability by issuing crafted GraphQL queries, impacting development workflows and CI/CD pipelines across affected GitLab instances.

Affected Products

  • GitLab CE/EE versions 10.7 through 17.11.4
  • GitLab CE/EE versions 18.0 through 18.0.2
  • GitLab CE/EE version 18.1.0

Discovery Timeline

  • 2025-06-26 - CVE-2025-3279 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-3279

Vulnerability Analysis

The vulnerability resides in GitLab's GraphQL API implementation. GraphQL exposes a flexible query interface that allows clients to request nested and complex data structures in a single request. When input validation and query complexity controls are insufficient, attackers can craft requests that consume disproportionate server resources.

An authenticated attacker can issue crafted GraphQL requests that trigger excessive processing, memory allocation, or backend database load. Repeated or sustained requests can degrade service responsiveness for all users. Successful exploitation does not expose data or allow modification but renders the GitLab instance unavailable.

Root Cause

The root cause is the absence of adequate resource governance on specific GraphQL query paths. Under [CWE-770], the application accepts queries without enforcing limits proportional to available resources. Crafted queries bypass the expected bounds and trigger resource exhaustion in the Ruby backend or dependent services.

Attack Vector

Exploitation requires network access to the GitLab GraphQL endpoint and a valid authenticated session. The attacker sends one or more crafted GraphQL requests designed to maximize backend processing. For specific technical details, refer to the GitLab Issue #534424 and the HackerOne Report #3067111.

Detection Methods for CVE-2025-3279

Indicators of Compromise

  • Sustained spikes in CPU, memory, or database connection usage on GitLab application servers without a corresponding increase in legitimate traffic.
  • Repeated authenticated POST requests to the /api/graphql endpoint from a single user or token.
  • Slow or failing GitLab web and API responses correlated with GraphQL query volume in access logs.

Detection Strategies

  • Enable GraphQL query logging and monitor for unusually large, deeply nested, or long-running queries.
  • Baseline normal GraphQL request patterns per user and alert on statistical deviations.
  • Correlate authentication identifiers with resource-usage anomalies to identify abusive sessions.

Monitoring Recommendations

  • Instrument /api/graphql with request duration, query depth, and payload size metrics.
  • Forward GitLab application and NGINX logs to a centralized SIEM for cross-correlation with host telemetry.
  • Configure alerting on sustained HTTP 5xx responses or worker saturation events on GitLab Puma or Sidekiq processes.

How to Mitigate CVE-2025-3279

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.11.5, 18.0.3, or 18.1.1 or later as applicable to your deployment branch.
  • Audit GitLab access logs for anomalous GraphQL activity prior to patching.
  • Restrict GitLab API access to trusted networks where operationally feasible.

Patch Information

GitLab addressed CVE-2025-3279 in versions 17.11.5, 18.0.3, and 18.1.1. Self-managed GitLab administrators should apply the upgrade through standard package or Helm chart update procedures. Details and tracking are available in GitLab Issue #534424.

Workarounds

  • Apply rate limiting on the /api/graphql endpoint through GitLab's built-in application rate limits or an upstream reverse proxy.
  • Reduce exposure by requiring VPN or IP allowlisting for GitLab API access until patches are deployed.
  • Revoke or rotate personal access tokens for accounts observed generating anomalous GraphQL traffic.
bash
# Example: enforce request rate limiting on /api/graphql via NGINX
# Add to the GitLab NGINX http block
limit_req_zone $binary_remote_addr zone=graphql_limit:10m rate=5r/s;

location /api/graphql {
    limit_req zone=graphql_limit burst=10 nodelay;
    proxy_pass http://gitlab-workhorse;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.