Skip to main content
ExploitedIn CISA KEVFix available

CVE-2026-97229

Integer Overflow or Wraparound in GitLab

Exploitation confirmed. First attested on 2026-10-29 by CISA-ADP, CISA KEV, GCVE · previdian.

  • Published2026-10-13
  • Fixed in19.4.2 · 19.3.5 · 19.2.8
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-10-1302:17CVE publishedNVD
  2. 2026-10-2523:12EPSS crossed 10 %FIRST EPSS
  3. 2026-10-29Added to the CISA KEV catalogCISA KEV
  4. 2026-10-29Listed as exploited by GCVEGCVE
  5. 2026-10-29Exploitation first reportedCISA KEV
  6. 2026-10-2919:50SSVC exploitation set to activeCISA-ADP
  7. 2026-11-0317:08Nuclei detection templateProjectDiscovery

Versions per branch

NVD · OSV
GitLab
BranchAffectedFixed in
19.4≥ 19.4.0, < 19.4.219.4.2
19.3≥ 19.3.0, < 19.3.519.3.5
19.2≥ 19.2.0, < 19.2.819.2.8
Ruby
BranchAffectedFixed in
4.0≥ 4.0.0, < 4.0.84.0.8
3.4≥ 3.4.0, < 3.4.123.4.12
3.3≥ 3.3.0, < 3.3.133.3.13

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitLab, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • GitLabother versions: not affected

    https://gitlab.com/gitlab-org/gitlab

    Affected
    • ≥ 19.2, < 19.2.8fixed in 19.2.8semver
    • ≥ 19.3, < 19.3.5fixed in 19.3.5semver
    • ≥ 19.4, < 19.4.2fixed in 19.4.2semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-13

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitlabUbuntu:16.04:LTSall versions · no fixed version listed
  • gitlab-cng-19.2MinimOSall versions · fixed in 19.2.8-r0and 24 other packages
  • gitlab-cng-19.3MinimOSall versions · fixed in 19.3.5-r0and 24 other packages
  • gitlab-cng-19.4MinimOSall versions · fixed in 19.4.2-r0and 24 other packages
  • gitlab-runner-19.2Wolfiall versions · fixed in 0and 11 other packages
  • gitlab-runner-19.2Chainguardall versions · fixed in 0and 35 other packages
  • openvox-agentRed Hat:satellite:6.18::el9all versions · fixed in 0:8.32.0-1.el9sat
  • openvox-agentRed Hat:satellite:6.17::el9all versions · fixed in 0:8.32.0-1.el9sat

448 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-97229 Red Hat Product Security568 products fixed · 121 known affected

    ruby: integer overflow issue in CI/CD regular expression compiler

    ruby as a component of Red Hat Enterprise Linux 6 · ruby-devel as a component of Red Hat Enterprise Linux 6 · ruby-docs as a component of Red Hat Enterprise Linux 6 · +118 more

  • RHSA-2026:102534 Red Hat Product Security144 products fixed

    Red Hat Security Advisory: ruby:2.5 security update

  • RHSA-2026:96235 Red Hat Product Security95 products fixed

    Red Hat Security Advisory: ruby security, bug fix, and enhancement update

  • RHSA-2026:96233 Red Hat Product Security34 products fixed

    Red Hat Security Advisory: ruby4.0 security, bug fix, and enhancement update

  • RHSA-2026:96120 Red Hat Product Security143 products fixed

    Red Hat Security Advisory: ruby:4.0 security, bug fix, and enhancement update

  • RHSA-2026:96068 Red Hat Product Security143 products fixed

    Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update

8 more advisories

Full record on NVD

Fix

  1. Update GitLab to 19.4.2 · 19.3.5 · 19.2.8
  2. CISA’s 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.due 2026-11-01
  3. Vendor fix Red Hat Product Security RHSA-2026:102534 · 144 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2026:95655 · 16 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_satellite/6.16/html/updating_red_hat_satellite/index Release Notes: Pro…
  5. Vendor fix Red Hat Product Security RHSA-2026:95657 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2026:95652 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://docs.redhat.com/documentation/en-us/red_hat_satellite/6.19/html/updating_red_hat_satellite/index
  7. Vendor fix Red Hat Product Security RHSA-2026:88880 · 19 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  8. Workaround from the vendor Red Hat Product Security RHSA-2026:102534 · 144 productsTo mitigate this vulnerability, do not compile regular expressions from untrusted sources. Standard safeguards such as Regexp.timeout or limiting the length of the input pattern do not protect against this issue.

Advisories and patches

Detection

read 2026-11-15 10:44 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
1 moduleexploit/multi/http/gitlab_cicd_regexp_rce_cve_2026_97229rank: goodModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

CISA Known Exploited Vulnerability

Date added
2026-10-29
Patch due date
2026-11-01
Ransomware use
Unknown
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.

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2026-10-13
Last modified
2026-11-02
NVD status
Analyzed
GitHub advisory
GHSA-9hj5-r43h-h3xg

Frequently asked questions

What is CVE-2026-97229?

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.

Is CVE-2026-97229 actively exploited?

Yes. CVE-2026-97229 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2026-11-01.

What is the CVSS score for CVE-2026-97229?

CVE-2026-97229 has a CVSS v3 base score of 10 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running GitLab? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record