CVE-2026-97229: GitLab CE/EE Remote Code Execution via Integer Overflow

An integer overflow vulnerability in GitLab Community and Enterprise Edition versions 19.2.0–19.4.1 allows unauthenticated attackers to execute arbitrary code on the GitLab server through a specially crafted regular expression in CI/CD configuration. The flaw stems from insufficient valida

Share

This is a critical, network-accessible remote code execution affecting all GitLab CE and EE deployments in the 19.2, 19.3, and 19.4 release families. No authentication is required, and exploitation is happening now. Any GitLab instance exposed to the internet or untrusted networks is at immediate risk of compromise.

CVECVE-2026-97229
SeverityCritical (CVSS 10)
Actively exploitedYes, listed in CISA's Known Exploited Vulnerabilities catalog on 29 Oct 2026
CISA remediation deadline1 Nov 2026
WeaknessCWE-190
Attack vectorNetwork
Privileges requiredNone
User interactionNone
Published13 Oct 2026

How the attack works

An attacker sends a specially crafted regular expression as part of a CI/CD pipeline configuration to a vulnerable GitLab instance. Due to insufficient validation of the regex input, an integer overflow occurs in the processing logic. This overflow causes memory corruption or unsafe code execution, allowing the attacker to run arbitrary commands with the privileges of the GitLab process.

Who is affected

GitLab Community Edition and Enterprise Edition versions 19.2.0 through 19.2.7, 19.3.0 through 19.3.4, and 19.4.0 through 19.4.1 are vulnerable. All internet-exposed or network-accessible GitLab instances in these version ranges require immediate patching.

Affected products listed:

  • Gitlab (from 19.2.0, before 19.2.8)
  • Gitlab (from 19.3.0, before 19.3.5)
  • Gitlab (from 19.4.0, before 19.4.2)

How to check if you're exposed

  • Check GitLab version via the web interface (Help > About GitLab) or CLI (`gitlab-rake gitlab:env:info`); vulnerable versions are 19.2.0–19.2.7, 19.3.0–19.3.4, or 19.4.0–19.4.1.
  • Review CI/CD pipeline configuration files (`.gitlab-ci.yml`) for unusual or obfuscated regular expressions, especially those submitted by unfamiliar or external users.
  • Search GitLab logs and audit trails for failed regex validation errors, integer overflow exceptions, or unexpected process crashes correlated with CI/CD job submissions.
  • Monitor for unexpected outbound connections, new user accounts, or privilege escalation events on the GitLab server during the affected version window.

How to fix it

  • Upgrade GitLab CE/EE to version 19.2.8, 19.3.5, or 19.4.2 or later immediately, following the vendor's upgrade documentation.
  • After patching, restart the GitLab instance to ensure all processes are running the fixed code.
  • Review and delete any suspicious CI/CD pipelines or job history created while running a vulnerable version.
  • Rotate all GitLab tokens, API keys, and SSH keys used by service accounts or automation, as they may have been compromised.

If you can't patch yet

  • Immediately restrict network access to the GitLab instance to trusted IP ranges only; block external and untrusted user access until patching is complete.
  • Disable or suspend all external CI/CD runners and webhook integrations that accept configuration from untrusted sources until the instance is patched.
  • If patching cannot be performed within 24 hours, take the GitLab instance offline or failover to a patched standby to prevent active exploitation.

Need help checking your exposure or patching at scale? FutureOps InfoTech can help.

Read more