GitLab patches critical remote code execution flaw affecting all versions since 2014
GitLab released emergency fixes for CVE-2026-110264, a maximum-severity vulnerability allowing unauthenticated remote code execution in self-managed instances dating back to version 7.0.
GitLab issued emergency security updates on October 21 to address a critical vulnerability that allows attackers to execute arbitrary code on self-managed servers without authentication. The flaw, identified as CVE-2026-110264, carries a perfect 10.0 score on the Common Vulnerability Scoring System and impacts every release of the software since version 7.0, which launched in 2014.
This patch is urgent even for administrators who applied the previous security update on October 12. That earlier fix only covered versions 19.2 and newer, leaving older installations exposed, while the new fixed versions sit just one patch level above those recent releases. Consequently, many systems thought to be secure remain vulnerable until this latest round of updates is applied.
What happened
The vulnerability stems from an integer overflow within Onigmo, the regular expression engine built into Ruby that GitLab bundles and patches within its own distributions. When the compiler processes a specially crafted regular expression, it can trigger this overflow, potentially allowing an unauthenticated user to run code on the host server. GitLab has not disclosed the specific conditions required to exploit the flaw, meaning administrators cannot rely on configuration changes to mitigate the risk.
GitLab addressed the issue by releasing fixed versions across seven different release branches simultaneously. This broad scope includes four versions that are older than GitLab’s standard support policy, which typically covers only the current release and the two preceding monthly versions. The company stated it reserved this exceptional backporting effort for severe issues, acknowledging the widespread nature of the underlying engine weakness.
While GitLab reports no evidence that this specific flaw has been exploited in the wild, and it does not yet appear in the U.S. CISA catalog of known exploited vulnerabilities, the risk profile is extreme. The same researcher, known by the handle joaxcar, has reported three other code-execution flaws in the same regex engine over the past month. Unlike those previous issues, which were limited to newer versions or required authenticated access, this vulnerability reaches back over a decade of software history and requires no login.
Key details
- Vulnerability ID: CVE-2026-110264, rated 10.0 (Critical) on the CVSS scale.
- Affected versions: All self-managed GitLab instances from version 7.0 (2014) through the latest pre-patch releases.
- Root cause: Integer overflow in the Onigmo regular expression compiler during the processing of crafted expressions.
- Attack vector: Unauthenticated remote code execution; no login or user interaction is required.
- Fix availability: Patches released for versions 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, and 18.11.13.
- Detection: GitLab provided two Sigma-format detection rules, "Onigmo native worker crash" and "Org mode render error burst," for monitoring application logs.
Background
Regular expressions are patterns used to match character combinations in strings, widely used in programming for data validation and search functions. The engine that processes these patterns, in this case Onigmo, must handle complex inputs efficiently. An integer overflow occurs when a calculation produces a number larger than the storage space allocated for it, causing the value to wrap around to a negative number or a small positive number. In security contexts, this can corrupt memory structures, allowing attackers to inject and execute malicious code.
GitLab bundles its own version of the Ruby interpreter and its associated libraries, including Onigmo. Because this engine is embedded in every version of GitLab since 7.0, the vulnerability is pervasive across the entire installed base of self-managed instances. Cloud-hosted users on GitLab.com are unaffected as the provider manages the underlying infrastructure and has already deployed the fix.
Why it matters
For teams running self-hosted GitLab instances, this incident highlights the hidden risks of long-term software dependencies. Even if an organization maintains a rigorous patching schedule for recent versions, the depth of this vulnerability means that legacy instances or those on extended support tracks are critically exposed. The fact that the October 12 patch did not cover older versions creates a dangerous gap where administrators might believe they are protected when they are not.
The operational impact of applying this fix is non-trivial. Upgrades to versions 19.4.3 and 19.3.6 include database schema changes that require downtime on single-node servers. For high-availability environments, this necessitates careful planning using GitLab’s zero-downtime upgrade procedures for multi-node setups. Teams must balance the immediate security threat against the potential service disruption caused by the patching process.
Furthermore, the lack of a workaround means there is no stopgap measure. Administrators cannot simply disable a feature or adjust a setting to block the attack vector. The only definitive protection is upgrading to one of the patched versions. This places pressure on DevOps teams to prioritize this maintenance task above other roadmap items, potentially delaying feature development or other infrastructure improvements.
What you can do
- Identify your current GitLab version and cross-reference it with the fixed version table to determine the required upgrade path.
- Schedule an immediate maintenance window for single-node instances, accounting for potential downtime due to database migrations.
- Deploy the provided Sigma detection rules to your log management system to monitor for "Onigmo native worker crash" or "Org mode render error burst" events.
- Verify that multi-node clusters are configured for zero-downtime upgrades before initiating the patch process to avoid service interruption.
- Review access logs for unusual activity prior to patching, though note that exploitation may leave minimal traces without the specific detection rules.
- Communicate the urgency to stakeholders, emphasizing that this fix addresses a flaw present in all versions since 2014, not just recent releases.



