| Name | CVE-2026-97229 |
| 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 | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1152513 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ruby3.1 (PTS) | bookworm, bookworm (security) | 3.1.2-7+deb12u1 | vulnerable |
| ruby3.3 (PTS) | trixie | 3.3.8-2 | vulnerable |
| forky, sid | 3.3.8-2.2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ruby3.1 | source | (unstable) | (unfixed) | |||
| ruby3.3 | source | (unstable) | (unfixed) | 1152513 |
https://github.com/ruby/ruby/pull/19020
Fixed by: https://github.com/ruby/ruby/commit/7cfe8dc82f9f1b3f9c37c78e362fcbdf3c0b84f4 (v4.1.0-preview1)
Fixed by: https://github.com/ruby/ruby/commit/cf35145fc46bc278e0ab0003478fc4afe6564819 (v4.1.0-preview1)
Fixed by: https://github.com/ruby/ruby/commit/fa98ef030a54595d4387998b2fb48a412fc5c63c (v3_3_13)
Fixed by: https://github.com/ruby/ruby/commit/b03e500193371ae87dc4536d855008b42a9cd1a7 (v3_3_13)
https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/