Skip to content
RedCVE

CVE-2026-97229GitLab CE/EE unsafe regex handling in CI/CD configs

ExploitedGitLabruby-langPublished:

CVSS score

10.0

Critical

CVSS 3.1 from gitlab.com

Exploit probability (EPSS)

74.3%

74.3% chance of exploitation in the next 30 days, higher than 99.5% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 29 Oct 2026.

US federal deadline to fix: 1 Nov 2026.

In plain words

An unauthenticated attacker can run code on the GitLab server by supplying a specially crafted regular expression in a CI/CD configuration, over the network. GitLab CE/EE 19.2 before 19.2.8, 19.3 before 19.3.5 and 19.4 before 19.4.2 are affected, and CISA lists it as actively exploited. Update to the fixed GitLab versions now, or discontinue use if you cannot mitigate, and follow CISA BOD 26-04 guidance.

Official 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.

Source: NVD · CNA: cve@gitlab.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 29 Oct 2026.

    US federal agencies must fix it by 1 Nov 2026. It's a sensible deadline for everyone else too.

    CISA's full instruction
    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.
  2. Check whether you're affected

    Find every system running Gitlab, ruby-lang Ruby and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Gitlab to 19.2.8, 19.3.5, 19.4.2 or later, on the branch you run.
    • Update Ruby to 3.3.13, 3.4.12, 4.0.8 or later, on the branch you run.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

Affected productsVersions
GitLab Gitlab≥ 19.2.0, < 19.2.8 · ≥ 19.3.0, < 19.3.5 · ≥ 19.4.0, < 19.4.2 · ≥ 19.2, < 19.2.8 · ≥ 19.3, < 19.3.5 · ≥ 19.4, < 19.4.2
ruby-lang Ruby≥ 3.3.0, < 3.3.13 · ≥ 3.4.0, < 3.4.12 · ≥ 4.0.0, < 4.0.8

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2026-97229 being exploited?

Yes. CISA added CVE-2026-97229 to its Known Exploited Vulnerabilities catalog on 29 Oct 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 74.3% probability of exploitation in the next 30 days.

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

CVE-2026-97229 has a CVSS 3.1 base score of 10.0 (critical).

Which versions are affected?

GitLab Gitlab (≥ 19.2.0, < 19.2.8; ≥ 19.3.0, < 19.3.5; ≥ 19.4.0, < 19.4.2; ≥ 19.2, < 19.2.8; ≥ 19.3, < 19.3.5; ≥ 19.4, < 19.4.2), Ruby Lang Ruby (≥ 3.3.0, < 3.3.13; ≥ 3.4.0, < 3.4.12; ≥ 4.0.0, < 4.0.8)

Is there a patch for CVE-2026-97229?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.