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.
Published: 2026-09-23
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Wed, 23 Sep 2026 23:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-09-23T23:05:20.132Z

Reserved: 2026-09-10T19:06:37.759Z

Link: CVE-2026-89078

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T00:17:22.060

Modified: 2026-09-24T00:17:22.060

Link: CVE-2026-89078

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-24T00:30:07Z

Weaknesses