GitLab Patches Critical Remote Code Execution Flaw
GitLab has released security updates addressing a critical vulnerability that could allow attackers to execute code without authentication.
GitLab has released an urgent security update addressing a critical vulnerability that could allow attackers to execute malicious code on affected servers without authentication.
The vulnerability, tracked as CVE-2026-97229, has received a maximum severity rating of 10.0 out of 10 on the CVSS scale. That's about as serious as it gets, especially for anyone running a self-hosted GitLab instance accessible from the internet.
According to GitLab's official security advisory, the issue involves an integer overflow in the CI/CD regular expression compiler.
Under certain conditions, an attacker could exploit the vulnerability using a specially crafted regular expression within a CI/CD configuration file, potentially allowing them to execute arbitrary code on the GitLab server.
The vulnerability affects both GitLab Community Edition and Enterprise Edition.
Which GitLab Versions Are Affected? #
GitLab has released the following patched versions:
- GitLab 19.4: Update to 19.4.2
- GitLab 19.3: Update to 19.3.4
- GitLab 19.2: Update to 19.2.8
Anyone running an affected version should update as soon as possible.
The security release also addresses several other vulnerabilities, including a high-severity cross-site scripting issue and a flaw that could allow developers to execute pipelines on protected branches without proper authorization.
GitLab has confirmed that its hosted GitLab.com service is already patched, while GitLab Dedicated customers don't need to take additional action.
What Self-Hosters Should Do #
If you're hosting GitLab yourself, now would be a good time to check which version you're running.
Before updating, make sure you have a recent backup and review the official upgrade instructions.
GitLab notes that these patches include database migrations. Single-node installations will experience downtime during the upgrade, so plan accordingly.
There's also a known issue with version 19.3.4 affecting merge request pages when the Ona integration is enabled. GitLab says a fix is planned for 19.3.5.
For self-hosters, this is another reminder of why keeping important applications updated matters. GitLab often contains private repositories and deployment credentials, making it a particularly valuable target if something goes wrong.
If you're running an affected version, don't put this update off.
You can read the complete details in the official GitLab security announcement.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.