The vulnerability stems from an integer overflow when the Regular Expression Compiler processes a specially crafted regular expression. GitLab fixed the issue in versions 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, and 18.11.13 for both Community and Enterprise editions.
"GitLab has remediated an issue that, under certain conditions, could have allowed an unauthenticated user to execute arbitrary code on the GitLab server due to integer overflow when compiling a specially crafted regular expression," the company said. "We strongly recommend that all installations running a version affected by the issues described below are upgraded to the latest version as soon as possible."
GitLab noted that its cloud platform GitLab.com already runs the patched version, and GitLab Dedicated tenants on version 19.3.5-internal0 or later or 19.4.2-internal0 or later do not need to take action.
The vulnerability was reported by a security researcher using the handle 'joaxcar' through GitLab's HackerOne bug bounty program. The same researcher previously disclosed another critical code execution flaw (CVE-2026-97229) in the CI/CD Regular Expression Compiler, also rated 10/10, which GitLab patched ten days ago.
Internet threat watchdog Shadowserver has tracked over 2,700 GitLab Community Edition instances exposed online, though it did not specify how many are honeypots or already secured. Last month, GitLab fixed another maximum-severity flaw (CVE-2026-85706) that let unauthenticated attackers read sensitive data. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) added that vulnerability to its list of actively exploited flaws within a day, ordering federal agencies to patch within three days.
GitLab's DevSecOps platform serves over 30 million registered users and is used by more than half of Fortune 100 companies, including Nvidia, T-Mobile, Lockheed Martin, Airbus, and Goldman Sachs.
