GitLab Critical Vulnerabilities Traced to Ruby Onigmo Regex Engine Flaws

GitLab has disclosed multiple critical vulnerabilities, including CVE-2026-97229 with a CVSS score of 10.0, that stem directly from underlying defects in the Ruby programming language's Onigmo regular expression engine. The issues affect CI/CD configuration processing and were confirmed exploited in the wild after GitLab released patches on October 8, 2026. Ruby's development team followed with its own advisory on October 23, 2026, confirming that four separate CVEs share the same root cause in Onigmo. The affected flaws include integer overflows during regex compilation and parsing as well as a double-free memory corruption condition. Because the vulnerabilities reside in a core dependency, any Ruby environment using similar regex patterns may also be exposed. Organizations running GitLab are urged to apply the updated versions 19.4.2, 19.3.5, and 19.2.8 immediately.

Security NEXTTranslated from Japanese

Read at source

GitLab has addressed a set of critical vulnerabilities whose root cause lies in the Ruby programming language rather than in the platform code itself. The most severe issue, tracked as CVE-2026-97229, received the maximum CVSSv3.1 base score of 10.0 and has already been observed being exploited in the wild.

The flaw originates in the way Ruby's regular-expression engine Onigmo processes patterns contained inside GitLab CI/CD configuration files. An integer overflow during regex compilation allows an attacker to trigger memory corruption that can lead to remote code execution.

GitLab published fixes on October 8, 2026, in versions 19.4.2, 19.3.5, and 19.2.8. Three additional vulnerabilities share the same underlying defect in Onigmo:

  • CVE-2026-89078 – double-free condition during regex parsing
  • CVE-2026-93577 and CVE-2026-110264 – integer overflows at compile time

The Ruby core team issued a coordinated advisory on October 23, 2026, detailing the fixes required in the language runtime. Because the vulnerabilities reside in a shared dependency, any application or service that relies on the affected Ruby versions and processes untrusted regular expressions may also be at risk.

Security researchers recommend that organizations using GitLab apply the patches without delay and review any custom Ruby deployments that incorporate similar regex handling logic.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Liferay Community Edition Misconfiguration Exposes Plaintext Passwords in Government Systems via CWE-319
Google Patches 21 Vulnerabilities in Chrome Including Critical MediaStream Flaw
CISA Adds Cisco Secure Firewall and GitLab Flaws to Known Exploited Vulnerabilities Catalog