Skip to content
Your GitLab Has a CVSS 10 Problem. Patching Is the Easy Part | by Sabbagh

Your GitLab Has a CVSS 10 Problem. Patching Is the Easy Part | by Sabbagh

Medium • November 11, 2026

GitLab shipped two max-severity fixes in nine days. I patched a lab in four minutes, then found what the patch doesn’t change.

That's a fresh GitLab 19.5.0 I started in a sandbox this morning, default settings. Anyone who can reach it gets a sign-up page. And 19.5.0 is one of the versions GitLab now rates CVSS 10.

Quick recap of October. On the 12th, GitLab fixed CVE-2026-97229: under "certain conditions", an unauthenticated user could run code on the server through a crafted regular expression in a CI/CD config. On the 21st came CVE-2026-110264, the same family, also 10.0, affecting every version since 7.0. On the 29th, CISA added the first one to its list of bugs exploited in the wild.

On November 2, BleepingComputer reported Shadowserver's count: more than 11,300 of the roughly 39,000 GitLab servers it tracks were still open to the second bug.

So I ran the whole fix in a lab: check, back up, upgrade, harden. Here's how to get out of that 11,300, plus one surprise.

Note 1: the version you need is higher than you think

The October 12 patch does not fix the October 21 bug. If you patched once and moved on, you're still exposed.

The first versions fixed for both, from GitLab's own CVE record: 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13 .

On 18.10 or older, there's no fix on your line at all. GitLab normally backports security fixes only to the current release and the two before it. This time it went back to 18.11, and stopped there.

Check what you run on the server itself (the version API needs a token):

I put the list in a small script, so nobody compares versions by eye at midnight:

Don't stop at the minimum. GitLab shipped another round at the end of October (19.5.3, 19.4.5 and friends). Take the latest patch of your line.

Note 2: what the upgrade actually cost

Backup first. gitlab-backup create took 40 seconds on my empty instance and ended with a warning worth reading twice: gitlab.rb and gitlab-secrets.json are not in the backup. The secrets file holds the key to your CI/CD variables and 2FA data. Copy /etc/gitlab somewhere safe yourself.

Then the upgrade: stop the 19.5.0 container, start 19.5.3 on the same volumes. 245 seconds until the sign-in page answered again.

Get Sabbagh’s stories in your inbox

Join Medium for free to get updates from this writer.

Remember me for faster sign in

That's an empty instance on 4 CPUs; a real one with data takes longer. Still, minutes of downtime against a 10.0.

Several versions behind? Don't jump straight to the latest. GitLab has required upgrade stops (19.2, 19.5, 19.8, 19.11), and background migrations must finish at each.

Note 3: ruby -v won't tell you anything

The real bug lives in Onigmo, Ruby's regex engine. Ruby released fixes on October 23 in 4.0.9, 3.4.12 and 3.3.13. So I checked the Ruby inside both GitLab images:

Same string on the fixed build. GitLab patched the Ruby it ships without bumping the version (the libruby.so checksums differ). Trust the GitLab version, not ruby -v .

The flip side: if you write Ruby, this is your bug too. Ruby's advisory says any app that compiles a regex from a string an attacker controls is affected, Regexp.timeout doesn't help, and short patterns can trigger it. Find those spots:

On a two-file test app it caught both the Regexp.new(params[:q]) and the /#{s}/ I planted. Then upgrade Ruby.

Note 4: close the doors you don't use

GitLab hasn't published the "certain conditions". I don't know them, and I won't guess. Ruby's advisory does say the bug fires when the server compiles a regex someone else wrote. So every stranger who can put text into your GitLab is a possible author.

My fresh instance came with sign-up enabled (admin approval on), public projects allowed and an open explore page. If your GitLab is for your team only, one admin API call shuts that:

After it, /users/sign_up and /explore/projects both answered 302 , a redirect to the login page.

The bigger question: does it need to be on the internet at all? A VPN or IP allowlist won't replace the patch. It makes the one a Tuesday task, not a midnight one.

Run the version check. Below the list? Copy /etc/gitlab , back up, take the latest patch of your line tonight.

On 18.10 or older? Plan the upgrade path today. There is no patch coming for you.

Turn off sign-up and public projects unless you really use them, then ask who decided this server should face the internet.

Is your GitLab reachable from the internet, and does anyone on your team remember why?

I used AI tools to help research and draft this post. Facts and commands were checked against the official docs as of November 2026.

Extracted Entities