Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 18.11.11, 19.0 before 19.0.8, 19.1 before 19.1.6, and 19.2 before 19.2.4 that under certain conditions could allow an unauthenticated user to remotely modify or delete public projects and user data via a GraphQL directive.
Published: 2026-08-17
Score: 9.4 Critical
EPSS: 5.8% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GitLab contains a code injection flaw that allows an attacker to construct malicious GraphQL directives. When processed, these directives enable modification or removal of public projects and user information. The vulnerability is classified as CWE‑94 and can be exploited remotely without authentication, directly compromising data integrity. Based on the description, it is inferred that an attacker could target any public project exposed through the GraphQL endpoint and inject code to alter or delete resources.

Affected Systems

The issue impacts all public installations of GitLab from version 18.2 up to but not including 18.11.11, from 19.0 up to but not including 19.0.8, from 19.1 up to but not including 19.1.6, and from 19.2 up to but not including 19.2.4. Versions 18.11.11, 19.0.8, 19.1.6, and 19.2.4 or later include the vendor fix.

Risk and Exploitability

The CVSS score of 9.4 marks this flaw as Critical. EPSS score of 6% indicates a moderate likelihood of exploitation in the wild, though the flaw is not listed in CISA KEV. Because the attack requires no prior authentication and relies on the publicly exposed GraphQL endpoint, the expected exploitation probability remains high, especially for publicly visible projects. Based on the description, it is inferred that an attacker can remotely exploit this vulnerability by sending crafted GraphQL directives from any external source with internet access.

Generated by OpenCVE AI on August 24, 2026 at 16:25 UTC.

Remediation

Vendor Solution

Upgrade to versions 18.11.11, 19.0.8, 19.1.6, 19.2.4 or above.


OpenCVE Recommended Actions

  • Apply the vendor patch by upgrading GitLab to version 18.11.11, 19.0.8, 19.1.6, 19.2.4, or newer.
  • Restrict or block external access to the GraphQL API for public projects until the patch is deployed.
  • Enforce strict schema validation and input sanitization for all GraphQL queries to prevent arbitrary directive execution.

Generated by OpenCVE AI on August 24, 2026 at 16:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*

Mon, 17 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 17 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 18.11.11, 19.0 before 19.0.8, 19.1 before 19.1.6, and 19.2 before 19.2.4 that under certain conditions could allow an unauthenticated user to remotely modify or delete public projects and user data via a GraphQL directive.
Title Improper Control of Generation of Code ('Code Injection') in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-94
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-08-17T20:44:03.074Z

Reserved: 2026-08-10T15:04:35.145Z

Link: CVE-2026-19478

cve-icon Vulnrichment

Updated: 2026-08-17T20:43:58.087Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-17T20:16:41.777

Modified: 2026-09-02T12:43:20.490

Link: CVE-2026-19478

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T16:30:07Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')