CVE-2026-97229

NameCVE-2026-97229
DescriptionGitLab 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.
SourceCVE (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 Bugs1152513

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby3.1 (PTS)bookworm, bookworm (security)3.1.2-7+deb12u1vulnerable
ruby3.3 (PTS)trixie3.3.8-2vulnerable
forky, sid3.3.8-2.2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby3.1source(unstable)(unfixed)
ruby3.3source(unstable)(unfixed)1152513

Notes

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/

Search for package or bug name: Reporting problems