Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 14.8 before 18.11.6, 19.0 before 19.0.3, and 19.1 before 19.1.1 that under certain conditions could have allowed an authenticated user to conceal content within a Snippet due to improper input validation.
Published: 2026-06-25
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GitLab’s governance of generated code was insufficiently validated, allowing an authenticated user to conceal content within a Snippet by inserting arbitrary code. This flaw is classified as CWE‑94, indicating potential code injection that could alter the behavior of the snippet module. The vulnerability can permit a malicious actor to embed invisible or malicious code, potentially facilitating further exploitation or data exfiltration through the snippet interface. "Concealing content" implies that the injected code could evade normal user visibility while still being processed by GitLab's rendering engine, raising concerns about confidentiality and integrity within the platform.

Affected Systems

All GitLab Community and Enterprise Edition releases from version 14.8 up to but excluding 18.11.6, 19.0 up to but excluding 19.0.3, and 19.1 up to but excluding 19.1.1 are affected. The issue persists across both CE and EE variants, meaning any organization deploying these versions is at risk.

Risk and Exploitability

The CVSS score of 4.3 indicates low overall severity, and no EPSS data is available; furthermore the vulnerability is not listed in the CISA KEV catalogue. Exploitation requires authentication and is thus limited to users with snippet creation privileges. While the flaw offers code injection potential, there is no evidence of external exploitation or widespread deployment. The likely attack vector involves an authenticated user crafting a snippet that includes malicious code, which the platform could render during display or processing. Given the low CVSS, the risk to systems remains moderate but should not be ignored.

Generated by OpenCVE AI on June 25, 2026 at 06:21 UTC.

Remediation

Vendor Solution

Upgrade to versions 18.11.6, 19.0.3, 19.1.1 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to version 18.11.6, 19.0.3, 19.1.1 or later, where the code injection flaw has been fixed.
  • If an immediate upgrade is not feasible, disable or restrict snippet creation permissions for all users until the patch is applied.
  • Conduct an audit of existing snippets to identify and remove any embedded malicious code that may have been inserted prior to patching.

Generated by OpenCVE AI on June 25, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 25 Jun 2026 05:15:00 +0000

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 14.8 before 18.11.6, 19.0 before 19.0.3, and 19.1 before 19.1.1 that under certain conditions could have allowed an authenticated user to conceal content within a Snippet due to improper input validation.
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': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-06-25T12:55:06.795Z

Reserved: 2026-01-29T11:33:26.506Z

Link: CVE-2026-1606

cve-icon Vulnrichment

Updated: 2026-06-25T12:52:52.399Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T08:15:05Z

Weaknesses
  • CWE-94

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