Skip to content
← All news
4 min read

GitLab patches a CVSS 10.0 regex overflow that reaches back to version 7.0

GitLab's October 21 critical release fixes 12 vulnerabilities across seven branches. The top one, CVE-2026-110264, is an integer overflow in the regular expression compiler that GitLab says lets an unauthenticated user run code on the server. GitLab.com is patched. Self-managed instances are not until someone upgrades them.

One public project holding one .org file is enough, says GitLab's own detection write-up. No login needed.

On October 21, 2026, GitLab released versions 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10 and 18.11.13 of its Community and Enterprise editions. The top fix is CVE-2026-110264, rated CVSS 10.0, which GitLab lists as affecting every version from 7.0 onward.

The release covers 12 vulnerabilities: one critical, two high, five medium and four low. GitLab.com already runs the patched code. Dedicated tenants on 19.3.5-internal0, 19.4.2-internal0 or later need no action, per GitLab. That leaves self-managed installs, and GitLab asks that they upgrade immediately.

The way in is a TODO line in an Org-mode file

GitLab's advisory says the bug "could have allowed an unauthenticated user to execute arbitrary code on the GitLab server," through an integer overflow when compiling a specially crafted regular expression. GitLab credits the researcher joaxcar, via HackerOne.

GitLab's own detection write-up gives the path. GitLab renders .org files with the org-ruby gem, version 0.9.12. That gem copies the raw keyword from a #+TODO: line into a second regular expression. Per the write-up, a keyword with more than 32,767 repeats pushes a repeat ID in Onigmo, Ruby's regex engine, past a signed 16-bit limit, and the attack can end in a system() call as the git user. It says no login is needed, only a public project that can hold the file.

The bug-fix lists for 19.5.1, 19.4.3, 19.3.6 and 19.2.9 each carry a change titled "Add Ruby regexp repeat ID overflow patch for 3.3, 3.4 and 4.0." On October 12, GitLab fixed CVE-2026-97229, a CVSS 10.0 overflow in its CI/CD regex compiler, and the 19.4.2, 19.3.5 and 19.2.8 releases from that day still sit inside the new bug's affected range.

Two high-severity sign-in bugs ship in the same release

CVE-2026-15723 (CVSS 8.2) applies when OmniAuth SAML and LDAP auto-linking are both on. GitLab says an authenticated user could take over an existing LDAP-backed account with no action from its owner. CVE-2026-112212 (CVSS 7.5) let an unauthenticated user poison a shared cache's OAuth/OIDC discovery document and send some flows to an outside server.

Single-node servers go down while migrations run

GitLab says this patch causes downtime on single-node instances, because database migrations must finish before GitLab can start. Multi-node setups can avoid that with zero-downtime upgrade steps.

Two detection rules, and a warning that a quiet log proves nothing

GitLab published two rules for self-managed instances: Onigmo native worker crash and Org mode render error burst. The first looks for a Ruby [BUG] crash report in puma_stderr.log with org-ruby or Onigmo frames. The second fires when one client causes five or more .org render timeouts in exceptions_json.log within 30 minutes.

The crash rule's own notes say a successful exploit does not reliably crash a worker. A missing hit never clears an attack.

What is not confirmed

GitLab's advisory does not say whether anyone has exploited the bug. SecurityOnline reports no confirmed exploitation and no public proof of concept for any of the 12 flaws. No source gives a count of exposed instances. GitLab makes the issue details public 90 days after release.

Why a build studio cares

Our reading: the bug sits in a renderer for a file format most teams never open, which is why it is easy to miss. A self-hosted GitLab that holds client code renders whatever lands in any public project on it, including one nobody remembers creating. Making public projects private buys time, and GitLab's write-up suggests it, but only the upgrade closes the hole. If a vendor set up your GitLab and still holds the server, ask who patches it and how fast. That is the hosting-control question in a software audit.

# Which version? On the GitLab host (Linux package install)
sudo gitlab-rake gitlab:env:info   # read Version: under GitLab information

# Or over the API, with an access token
curl --header "PRIVATE-TOKEN: <your_access_token>" \
  "https://gitlab.example.com/api/v4/version"

# Or in the UI: sign in, then Help > Help (version at the top)

# Fixed: 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13

# GitLab's git-side scan for oversized TODO keywords, per repository checkout
rg -l --glob '**/*.org' '^\#\+(TODO|SEQ_TODO|TYP_TODO):.{500,}'

Next step: today, check the version on every self-managed GitLab you run, and upgrade to a release on the fixed list in GitLab's patch notes. Plan the downtime if it is a single node. If a vendor runs the server and you cannot get a straight answer on patching, write to us at hello@gattyworks.com.

SecurityGitLabDev ToolsOpen SourceGitLabCVE2026110264OrgModeRubyOnigmoSelfHostedDevSecOpsRemoteCodeExecutionPatchManagementCyberSecurity

Ready to know?

Send what you want checked or built. Fixed scope, price, and date in writing inside 24 hours, or the website or audit fee on your first project is refunded in full.

24 clock hours. Weekends included.
Book a call