GitLab has warned self-managed users to patch immediately after it fixed a maximum-severity flaw in its CI/CD regular expression compiler that could let an attacker execute arbitrary code on affected machines.
The GitLab platform allows companies to manage source code and deploy software across their organizations. As detailed in GitLab’s patch release document, the flaw – tracked as CVE-2026-97229 – has received a CVSS severity score of 10.0, the highest grade possible. That means updating GitLab’s software is a matter of urgency for all users.
GitLab revealed that the exploit “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.” Taking advantage of this flaw required “certain conditions,” GitLab added, although it did not detail what those conditions were.
Affected self-managed versions of GitLab include both the Community Edition and the Enterprise Edition. If you are running a version from 19.2 before 19.2.8, from 19.3 before 19.3.5, or from 19.4 before 19.4.2, you are likely affected and should update as soon as possible.
GitLab advised that “GitLab.com is already running the patched version. GitLab Dedicated customers do not need to take action.”
This is not the only dangerous flaw that has affected GitLab in recent weeks. In September 2026, for example, the company disclosed another maximum-severity vulnerability that would let an attacker access files outside of the directories they would normally be restricted to. In that instance, the flaw was targeted in the wild within a day of disclosure.
There’s no indication that threat actors have also put CVE-2026-97229 to use so far, but it’s not worth taking that risk. If your organization is able to, it should update its self-managed GitLab software as soon as is practicable.