CVE-2026-97229

Integer Overflow or Wraparound in GitLab

Published Oct 13, 2026 CVSS 3.1 · 10 Critical EPSS 74.3% KEV · Listed
Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.

Analysis

AI-generated

Technical impact

GitLab suffers from an integer overflow or wraparound flaw in the parser that handles regular expressions in CI/CD configuration files. When a maliciously crafted regex with highly complex or large patterns is processed, an internal counter can overflow, potentially allowing the attacker to execute arbitrary code on the GitLab server. The vulnerability directly compromises server integrity and confidentiality, as code can be run with server‑level privileges.

Affected Systems

All GitLab Community Edition and Enterprise Edition releases preceding 19.2.8, 19.3.5, or 19.4.2 are vulnerable. In particular, versions of GitLab 19.2, 19.3, and 19.4 that lack the patch are affected. The issue was present in the core CI/CD pipeline component that parses configuration files for both community and enterprise installations.

Risk and Exploitability

The CVSS base score of 10 highlights the extreme severity, and the EPSS score of 69% denotes a very high likelihood of exploitation. The vulnerability is listed in the CISA KEV catalog, underscoring its real‑world impact. Exploitation requires only that an attacker provide a specially crafted CI/CD configuration file; privileged access to create or modify pipelines is not explicitly required in the description, so the attack method could be through the web interface or API, which is inferred from typical CI/CD configuration workflows.

Remediation

Vendor Solution

Upgrade to versions 19.2.8, 19.3.5, 19.4.2 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to any of the patched releases 19.2.8, 19.3.5, 19.4.2, or newer to apply the fixed input validation in the regex parser.
  • Enforce least privilege by restricting who can edit CI/CD configuration files, ensuring only trusted project contributors have modification rights.
  • Audit existing CI/CD configuration files and replace overly complex regular expressions with simpler, safer patterns to reduce the risk of overflow.

Generated by OpenCVE AI on November 15, 2026 at 10:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ruby-lang
Ruby-lang ruby
CPEs cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Vendors & Products Ruby-lang
Ruby-lang ruby
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-10-29T00:00:00+00:00', 'dueDate': '2026-11-01T00:00:00+00:00'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server via a specially crafted regular expression in a CI/CD configuration, due to insufficient regular expression validation.
Title Integer Overflow or Wraparound in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-190
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Oct 30, 2026, 11:18 PM
Reserved
Sep 24, 2026, 10:04 AM
Status
Analyzed
Published
Oct 13, 2026, 2:17 AM
Modified
Nov 2, 2026, 1:30 PM