cve.bz

CVE-2026-89078 gitlab gitlab: Double Free

9.9 criticalEPSS 1.2%

Critical (9.9) in gitlab gitlab. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.2 before 19.2.7, 19.3 before 19.3.3, and 19.4 before 19.4.1 that under certain conditions could have allowed an authenticated user to execute arbitrary code on the GitLab server due to a double free issue when parsing a specially crafted regular expression in a CI/CD configuration.

Severity

CVSS 3.1

9.9 critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
EPSS
1.2% (up from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-89078 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-89078?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-89078?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-89078 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
GitLabfrom 19.2 before 19.2.7
GitLabfrom 19.3 before 19.3.3
GitLabfrom 19.4 before 19.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby3.1no fix listedDEBIAN-CVE-2026-89078
Debian13ruby3.33.3.13-0+deb13u1DEBIAN-CVE-2026-89078 DSA-6614-1
Debian14ruby3.3no fix listedDEBIAN-CVE-2026-89078
Red Hatenterprise_linux:9::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.3.13-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamruby, ruby-libs, ruby-devel and 4 more0:3.0.7-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.0.0-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.5-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-bundler0:2.2.33-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-bundler0:2.5.22-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.5.7-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.7.1-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-irb0:1.13.1-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
Red Hatenterprise_linux:9::appstreamrubygem-irb0:1.3.5-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-json, rubygem-json-debuginfo0:2.5.1-170.el9_8RHSA-2026:96067
Red Hatenterprise_linux:9::appstreamrubygem-json, rubygem-json-debuginfo0:2.7.2-10.module+el9.8.0+25291+d44bc40fRHSA-2026:96068
49 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedruby4.04.0.9-1.1openSUSE-SU-2026:12252-1
AlmaLinux9ruby, ruby-doc, ruby-libs and 2 more3.0.7-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-bigdecimal3.0.0-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-bundler2.2.33-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-io-console0.5.7-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-irb1.3.5-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-json2.5.1-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-minitest5.14.2-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-mysql2, rubygem-mysql2-doc0.5.5-3.module_el9.7.0+184+e2e36072ALSA-2026:96068
AlmaLinux9rubygem-pg, rubygem-pg-doc1.5.4-2.module_el9.7.0+245+447713a2ALSA-2026:96068
AlmaLinux9rubygem-power_assert1.2.1-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-psych3.3.2-170.el9_8ALSA-2026:96067
AlmaLinux9rubygem-rake13.0.3-170.el9_8ALSA-2026:96067
19 more for AlmaLinux in the JSON.
Rocky Linux9ruby0:3.0.7-170.el9_8RLSA-2026:96067
Rocky Linux9rubygem-mysql20:0.5.5-3.module+el9.7.0+40032+36e56d0dRLSA-2026:96068
Rocky Linux9rubygem-pg0:1.5.4-2.module+el9.7.0+40188+314ad260.0.1RLSA-2026:96068
Rocky Linux10ruby0:3.3.13-16.el10_2RLSA-2026:96235
Alpinev3.21ruby3.3.13-r0ALPINE-CVE-2026-89078
Alpinev3.22, v3.23, v3.24ruby3.4.12-r0ALPINE-CVE-2026-89078
Alpaquita23ruby3.3.13-r0BELL-CVE-2026-89078
Alpaquita25, streamruby3.4.12-r0BELL-CVE-2026-89078

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Red Hat has rated the impact of these flaws as Moderate for the Ruby packages shipped in Red Hat Enterprise Linux. The Ruby packages provide a language interpreter and standard library and do not accept external input on their own; these flaws are reachable only when an application compiles a regular expression constructed from attacker-controlled input.

Upstream Ruby has published a security advisory for these issues and scopes the flaws narrowly, stating that they "are reached only when an application compiles a regular expression from a string that an attacker controls, for example by passing it to Regexp.new, Regexp.union or Regexp.compile", and that "applications that only use regular expressions written by their own developers are not affected". Upstream further notes that Ruby "has generally considered it unsafe to compile and use a regular expression created from untrusted input".

The CVE identifiers for these flaws were assigned by GitLab, where the issues were originally reported and where remote code execution was demonstrated against GitLab's own application. Ruby did not request separate identifiers and has asked downstream distributors to track these issues under GitLab's CVE IDs.

Red Hat's mitigation

To mitigate this vulnerability, do not compile regular expressions from untrusted sources. Standard safeguards such as Regexp.timeout or limiting the length of the input pattern do not protect against this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10ruby-0:3.3.13-16.el10_2Fixed 2026-11-09RHSA-2026:96235
Red Hat Enterprise Linux 9ruby-0:3.0.7-170.el9_8Fixed 2026-11-09RHSA-2026:96067
Red Hat Enterprise Linux 9ruby:3.3-9080020261105110750.9Fixed 2026-11-09RHSA-2026:96068
Red Hat Satellite 6.16 for RHEL 8openvox-agent-0:8.32.0-1.el8satFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 8python-pyyaml-0:6.0.1-1.el8pcFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.16 for RHEL 9python-pyyaml-0:6.0.1-1.el9pcFixed 2026-11-05RHSA-2026:95655
Red Hat Satellite 6.17 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95656
Red Hat Satellite 6.18 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95657
Red Hat Satellite 6.19 for RHEL 9openvox-agent-0:8.32.0-1.el9satFixed 2026-11-05RHSA-2026:95652
Red Hat Hardened Imagesruby3-4-main-3.4.12-33.1.hum1Fixed 2026-10-23RHSA-2026:88861
Red Hat Enterprise Linux 10ruby4.0Not affected
Red Hat Enterprise Linux 6rubyAffected
Red Hat Enterprise Linux 7rubyAffected
Red Hat Enterprise Linux 8ruby:2.5/rubyAffected
Red Hat Enterprise Linux 8ruby:3.3/rubyAffected
Red Hat Enterprise Linux 9ruby:4.0/rubyNot affected
Red Hat Hardened Imageshi/rubyNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-89078.

References

Check your stackJSON