Secure Bulletin Navigating the cyber sea with knowledge
Home > Articolo > GitLab Patches CVSS 10 Flaw Allowing Unauthenticated Server Code Execution
GitLab Patches CVSS 10 Flaw Allowing Unauthenticated Server Code Execution
Read Time:3 Minute, 24 Second

GitLab has released security updates for a maximum-severity vulnerability that could let a remote attacker execute code on a self-managed server without first signing in. CVE-2026-97229 carries a CVSS score of 10.0 and affects both GitLab Community Edition and Enterprise Edition, placing the issue at the top of the patch queue for organizations that run their own development infrastructure.

The company published corrected versions on October 12, 2026. GitLab.com already uses patched software, and GitLab Dedicated customers do not need to perform the upgrade themselves. The urgent action applies to self-managed instances in the affected branches.

A CI/CD expression reaches the server

The vulnerability is an integer overflow in GitLab’s regular-expression compiler for continuous integration and delivery workflows. Regular expressions are patterns used to identify or transform text, and they are common in pipeline rules. According to the advisory, insufficient validation could allow a specially constructed expression in CI/CD configuration to trigger arbitrary code execution.

The public description says exploitation is possible under certain conditions but does not disclose a complete recipe. Even with those details withheld, the severity vector is stark: the attack is reachable over a network, has low complexity, needs neither privileges nor user interaction, and can have a high impact on confidentiality, integrity and availability.

This is not a browser-only script injection that disappears when a tab closes. The potential execution occurs on the GitLab server, where repositories, build metadata, secrets and automation converge. GitLab credited researcher joaxcar, who reported the problem through the company’s HackerOne program.

Why a GitLab takeover can spread

A compromised source-code platform offers more than access to individual repositories. Attackers may seek CI/CD variables, deploy keys, package registries, runner credentials and service tokens. If those secrets grant access to cloud accounts or production environments, a single server flaw can become the first stage of a broader software supply-chain incident.

An intruder with server-level execution could also modify code, tamper with build artifacts, interrupt pipelines or erase evidence. Even organizations that mirror repositories elsewhere would need to examine whether trusted releases or container images were produced during the period of suspected access.

Affected versions and fixed releases

GitLab identifies three affected release lines. Administrators should update according to the branch they currently operate:

  • GitLab 19.2 installations earlier than 19.2.8 should move to 19.2.8 or a later supported release.
  • GitLab 19.3 installations earlier than 19.3.4 should move to 19.3.4 or later.
  • GitLab 19.4 installations earlier than 19.4.2 should move to 19.4.2 or later.

Version 19.3.4 has a known issue affecting merge-request pages when the Ona integration is enabled, with a correction expected in 19.3.5. Teams using that integration should plan around the compatibility problem, but it should not become a reason to leave the critical code-execution vulnerability open.

The same security release addresses additional weaknesses, including authorization problems, cross-site scripting and an issue associated with the GitLab Duo Agent Platform. Reviewing the complete release notice is important because an upgrade can close several independent attack paths at once.

Defensive priorities after upgrading

Administrators should first inventory every internet-facing and internal self-managed instance, including forgotten test servers and disaster-recovery nodes. After upgrading, teams should review application, audit, runner and reverse-proxy logs for unusual pipeline submissions, malformed expressions, unexpected project creation, new access tokens and unexplained child processes.

Secrets stored in CI/CD variables deserve special attention if exploitation is suspected. Incident responders should determine which credentials were accessible, revoke them in the systems where they are honored and then replace them in GitLab. Merely changing the value in the project does not invalidate a token at its destination.

GitLab has not said that CVE-2026-97229 is being exploited in real-world attacks. However, the absence of confirmed exploitation is not a safe maintenance window for a network-accessible, unauthenticated CVSS 10 flaw. Fast patching, targeted log review and credential hygiene are the proportionate response.

Share: Twitter  |  Facebook  |  LinkedIn
Join the discussion

This is a blog in the Fediverse: you can find this article everywhere with @blog@securebulletin.com and every comment/answer will appear here.

If you want to comment on GitLab Patches CVSS 10 Flaw Allowing Unauthenticated Server Code Execution, use the discussion on Forum.

>> forum community

Comments

Leave a Reply