CVE-2026-89078

Double Free in GitLab

Published Sep 23, 2026 CVSS 3.1 · 9.9 Critical EPSS 1.2% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a double free triggered by parsing a specially crafted regular expression within a CI/CD configuration file. The weakness, classified as CWE-415, allows an attacker who can authenticate to the GitLab instance to craft malicious input that causes the application to free the same memory twice, potentially corrupting the heap. When the double free occurs during regex evaluation, the subsequent use of the freed memory can be manipulated to execute arbitrary code within the GitLab process context. If successfully exploited, the attacker gains code‑execution capabilities with the same privileges as the GitLab service, exposing the entire repository infrastructure, confidential data, and potentially other services running on the same host.

Affected Systems

All GitLab Community Edition and Enterprise Edition installations are affected. Versions from 19.2 before 19.2.7, 19.3 before 19.3.3, and 19.4 before 19.4.1 are vulnerable; any release prior to those patch levels is impacted. The official fix is distributed in GitLab 19.2.7, 19.3.3 and 19.4.1 and later releases.

Risk and Exploitability

The CVSS score of 9.9 marks this as critical severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS suggests a realistic threat if the conditions can be met. Exploitation requires an authenticated user with permission to edit the CI/CD configuration file for a repository. An attacker who can commit a crafted regex payload can trigger the double free during parsing. Given the lack of public exploits and the need for repository‑level access, the immediate risk is moderate for organizations with limited permissions, but for entities that allow widespread CI/CD edits, the risk escalates to high.

Remediation

Vendor Solution

Upgrade to versions 19.2.7, 19.3.3, 19.4.1 or above.


OpenCVE Recommended Actions

  • Upgrade to GitLab Community Edition or Enterprise Edition version 19.2.7, 19.3.3, 19.4.1 or newer.
  • If an upgrade cannot be performed immediately, limit CI/CD configuration editing rights to a trusted audit group or disable configuration changes for users with lower privileges.
  • Inspect existing CI/CD pipelines for deprecated or malicious regular expressions and enforce input validation rules to prevent malformed regexes from being accepted.

Generated by OpenCVE AI on September 24, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:19.4.0:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:19.4.0:*:*:*:enterprise:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Double Free in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-415
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Oct 30, 2026, 11:19 PM
Reserved
Sep 10, 2026, 7:06 PM
Status
Modified
Published
Sep 24, 2026, 12:17 AM
Modified
Oct 31, 2026, 12:16 AM