GitLab CI/CD configuration arbitrary code execution
CVE-2026-97229Known exploitedCritical
GitLab Community Edition and Enterprise Edition contain insufficient validation of regular expressions in CI/CD configurations. An unauthenticated user can craft a specially formed regular expression that causes an integer overflow or wraparound, allowing them to execute arbitrary code on the GitLab server. The attacker needs only the ability to submit a CI/CD configuration with a malicious regular expression.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 29 Oct
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Detail
GitLab Community Edition and Enterprise Edition. CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Weakness: CWE-190 (opens in a new tab)
Affected versions
- gitlab gitlab: from 19.2.0, before 19.2.8
- gitlab gitlab: from 19.3.0, before 19.3.5
- gitlab gitlab: from 19.4.0, before 19.4.2
- ruby-lang ruby: from 3.3.0, before 3.3.13
- ruby-lang ruby: from 3.4.0, before 3.4.12
- ruby-lang ruby: from 4.0.0, before 4.0.8
Reports naming this CVE10 in total
· Security Affairs
U.S. CISA adds GitLab and Cisco flaws to its Known Exploited Vulnerabilities catalog (opens in a new tab)· SecurityWeek
Max-Severity GitLab Vulnerability Exploited Against Alpine Linux (opens in a new tab)· The Hacker News
CISA Adds Actively Exploited GitLab RCE and Cisco Firewall DoS Flaws to KEV (opens in a new tab)· All CISA Advisories
CISA Adds Two Known Exploited Vulnerabilities to Catalog (opens in a new tab)· All CISA Advisories
CISA Adds One Known Exploited Vulnerability to Catalog (opens in a new tab)· The Hacker News
Attacker Tried to Exploit Alpine Linux’s GitLab via CVSS 10.0 Flaw Its Ruby Left Open (opens in a new tab)· Rapid7 Cybersecurity Blog
Rapid7 Analysis: GitLab CI/CD Regex Integer Overflow (CVE-2026-97229) (opens in a new tab)· Security Affairs
GitLab Patches Max-Severity Vulnerability CVE-2026-97229 (opens in a new tab)· Rapid7 Cybersecurity Blog
CVE-2026-97229: Critical Unauthenticated Remote Code Execution in GitLab (opens in a new tab)· Help Net Security
GitLab admins urged to patch critical RCE flaw (CVE-2026-97229) (opens in a new tab)