Skip to main content
VulnerabilityPublished

CVE-2026-1868: GitLab AI Gateway · Template Injection

Affects GitLab AI GatewaySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.9 Critical · fixed in 18.8.1 : patch GitLab AI Gateway as a priority.

Data as of 21 Nov 2026, 17:35 UTC

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 18.8.1, 18.7.1, 18.6.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade GitLab AI Gateway to 18.8.1, 18.7.1 or 18.6.2.

Affected software

ProductAffectedFixed in
GitLabGitLab AI GatewayAffected
  • >=18.8.0 <18.8.1
Fixed in
  • 18.8.1
GitLabGitLab AI GatewayAffected
  • >=18.7.0 <18.7.1
Fixed in
  • 18.7.1
GitLabGitLab AI GatewayAffected
  • >=18.1.6 <18.6.2
Fixed in
  • 18.6.2

CPE configurations (1)

  • cpe:2.3:a:gitlab:ai-gateway:*:*:*:*:*:*:*:*

AI-suggested

To mitigate CVE-2026-1868, European organizations should: 1) Immediately upgrade GitLab AI Gateway to versions 18.6.2, 18.7.1, or 18.8.1 where the vulnerability is patched. 2) Restrict access to the AI Gateway interface to trusted administrators and enforce strong authentication and network segmentation to limit exposure. 3) Audit existing Duo Agent Platform Flow definitions for suspicious or unauthorized template constructs that could exploit this vulnerability. 4) Implement runtime monitoring and anomaly detection on AI Gateway processes to detect unusual template processing or execution behavior. 5) Employ strict input validation and sanitization policies for any user-supplied data integrated into templates, even beyond the patched versions. 6) Maintain up-to-date backups and incident response plans tailored to potential AI Gateway compromise scenarios. 7) Coordinate with GitLab support and security advisories for ongoing updates and best practices.

Description

CVE-2026-1868 is a critical vulnerability in GitLab AI Gateway's Duo Workflow Service component affecting multiple versions from 18.1.6 through 18.8.0. It arises from improper neutralization of special elements in template expansion, allowing crafted Duo Agent Platform Flow definitions to trigger insecure template processing. Exploitation can lead to denial of service or remote code execution without user interaction, requiring only low privileges. The vulnerability has been fixed in versions 18.6.2, 18.

References

Community reviews

Loading reviews…