Logicde

Menu

All CVE records

CVE-2026-97229 — GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability

CISA KEV listed Added · Remediate by

Description

GitLab Community Edition and Enterprise Edition contain a integer overflow or wraparound vulnerability that could allow 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.

Required action

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). 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.

Notes

Other products can potentially be affected by the same underlying Ruby/Onigmo Integer Overflow issue in CI/CD Regular Expression Compiler. For more information please see: https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves ; https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/ ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-97229

Executive AI analysis

Plain-English summary

A critical integer overflow vulnerability in GitLab Community and Enterprise Editions allows unauthenticated attackers to remotely execute code on the host server. The flaw arises from inadequate regular expression validation within the CI/CD pipeline compiler, enabling malicious regex patterns to trigger code execution.

Business impact

Successful exploitation can lead to a full system takeover, exposing confidential source code repositories, API tokens, and embedded CI/CD secrets. This level of compromise threatens software supply chain integrity and provides attackers with an entry point for lateral movement or ransomware deployment.

Cloud / AWS relevance

Self-managed GitLab instances deployed on AWS EC2, ECS, or EKS clusters are directly vulnerable to host compromise. Attackers achieving code execution can extract instance profile metadata and IAM role credentials, potentially compromising connected AWS cloud resources.

Recommended action

Immediately upgrade GitLab Community Edition and Enterprise Edition to version 19.4.2 or the latest supported vendor patch. Restrict public network access to GitLab instances where possible, and inspect CI/CD pipeline definitions and system logs for unauthorized activity.

Need help remediating this vulnerability?

Our team helps organizations patch, mitigate, and respond to CISA KEV advisories fast.

Talk to an engineer

Manage Cookie Preferences