Skip to main content

How to fix CVE-2026-110264 in GitLab: patch and verification guide

Written by Rene Brandel on Sat Oct 31 2026

Upgrade affected self-managed GitLab CE or EE through the supported upgrade path, then verify the running release on every node. The minimum fixed versions for CVE-2026-110264 are 18.11.13, 19.0.10, 19.1.9, 19.2.9, 19.3.6, 19.4.3 and 19.5.1.

GitLab's advisory describes a regular-expression compiler integer overflow that can permit unauthenticated remote code execution under certain conditions. GitLab assigns CVSS 3.1 severity 10.0 and says GitLab.com is patched. Dedicated tenants on 19.3.5-internal0, 19.4.2-internal0 or later already include the fix.

Choose the fixed GitLab release

Affected CE/EE release rangeFirst fixed release
7.0 through 18.11.x, before 18.11.1318.11.13
19.0.x before 19.0.1019.0.10
19.1.x before 19.1.919.1.9
19.2.x before 19.2.919.2.9
19.3.x before 19.3.619.3.6
19.4.x before 19.4.319.4.3
19.5.x before 19.5.119.5.1

These are minimum fixes for this CVE. Choose a supported patched release and follow GitLab's required upgrade stops, including background migration requirements. An old installation may need several intermediate upgrades.

1. Inventory the running installation

Record the edition, installation method, application version and nodes involved in the deployment. On Linux package installations, the maintenance command shows the GitLab environment:

sudo gitlab-rake gitlab:env:info

Check the GitLab version, not just the host's ruby --version. GitLab patched the Ruby it ships; vendor packages can include backported runtime fixes. For source builds or custom images using a separately supplied Ruby runtime, upgrading GitLab alone is insufficient. GitLab requires Ruby 3.3.13, 3.4.12, 4.0.9 or later on the corresponding runtime line. Update the runtime the GitLab processes actually use, restart them through your deployment procedure, and retain its patch provenance.

Include Rails nodes, workers and replicas that use the affected build. Unidentified builds should remain on the remediation list until their patch status is established.

2. Prepare backups and the upgrade sequence

Follow GitLab's upgrade preparation: check compatibility, required intermediate releases, free space and background migration completion. Back up application data, configuration and secrets, and rehearse restoration and the upgrade in staging.

Use the documented downtime or multi-node procedure for your topology. A successful package install on one node does not complete a multi-node upgrade.

3. Update the deployed package or image

Use the procedure matching your installation: Linux package, Docker, Helm or self-compiled GitLab. With Helm, map the chart version to its GitLab application version.

For an existing single-node Ubuntu/Debian Linux package installation on 19.5.x, the following illustrates the minimum 19.5.1 update. Complete backups and prerequisites first; choose a later supported patch when appropriate.

Refresh the configured package index:

sudo apt-get update

For Community Edition:

sudo apt-get install gitlab-ce=19.5.1-ce.0

For Enterprise Edition, use this command instead:

sudo apt-get install gitlab-ee=19.5.1-ee.0

Do not run both edition commands. Other branches and installation methods require their own target and procedure. Complete the vendor's migrations and restarts before verifying the result.

4. Verify the deployed result

CheckCompletion evidence
Running versionEvery relevant node reports a patched GitLab release; custom builds also use a fixed Ruby runtime
Artifact identityInstalled packages or running image digests match the planned update
Upgrade healthRequired migrations are complete and post-upgrade checks pass
Normal workflowsAuthorized sign-in, repository clone/push and a representative CI job succeed

For Linux packages, run the sanitized configuration check:

sudo gitlab-rake gitlab:check SANITIZE=true

Health checks establish service operation; the version and artifact records establish which fix is deployed. Keep both with the change record, and resolve any remaining old nodes before closing remediation.

Temporary containment and recovery

Restricting instance access to trusted networks can reduce exposure while the update is prepared, but users and systems retaining access still reach the affected software.

Ruby's advisory says Regexp.timeout does not protect against these compilation bugs and pattern-length limits are unreliable. Avoiding compilation of untrusted expressions is a possible design change for a custom Ruby application; it is not a documented universal GitLab configuration fix.

Use the documented restoration path if the upgrade fails. Restoring a vulnerable build also restores the defect, so retain containment while recovering and resume the supported patch sequence.

Verification evidence and limits

An October 31 comparison of minimal Ruby 3.4.11 and 3.4.12 interpreters used official source archives and two upstream compiler regression cases from Ruby's fix.

CheckRuby 3.4.11Ruby 3.4.12
Normal regular-expression controlPassedPassed
test_too_many_range_repeatAccepted inputRejected with RegexpError
test_too_many_null_checkAccepted inputRejected with RegexpError

This confirms those compiler behaviors, not a GitLab deployment upgrade. No full GitLab installation, migration or exploitation test was run. The test evidence records source hashes and results. Operators should use the deployment checks above to verify their own installation.