Vulnerability · Published Feb 9, 2026 · Assigned by GitLab
CVE-2026-1868Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway
Critical 9.9
In plain English
A critical-severity security flaw in GitLab AI Gateway from GitLab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Official description
GitLab has remediated a vulnerability in the Duo Workflow Service component of GitLab AI Gateway affecting all versions of the AI Gateway from 18.1.6, 18.2.6, 18.3.1 to 18.6.1, 18.7.0, and 18.8.0 in which AI Gateway was vulnerable to insecure template expansion of user supplied data via crafted Duo Agent Platform Flow definitions. This vulnerability could be used to cause Denial of Service or gain code execution on the Gateway. This has been fixed in versions 18.6.2, 18.7.1, and 18.8.1 of the GitLab AI Gateway.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitLab | GitLab AI Gateway | 18.1.6 – before 18.6.218.7.0 – before 18.7.118.8.0 – before 18.8.1 |
Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H