Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GitLab | GitLab AI Gateway | 18.1.6 to before 18.6.2; 18.7.0 to before 18.7.1; 18.8.0 to before 18.8.1 | 18.6.2, 18.7.1, 18.8.1 | Patch available | CNA |
- GitLab AI Gateway VendorGitLab Affected 18.1.6 to before 18.6.2; 18.7.0 to before 18.7.1; 18.8.0 to before 18.8.1 Fixed in 18.6.2, 18.7.1, 18.8.1 Patch available CNA
Remediation
- Fix · CNA GitLab AI Gateway (GitLab) Fixed in 18.6.2, 18.7.1, 18.8.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-1868
- 2026-10-03 Alias added: GHSA-jfr3-cr47-9vqq
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More GitLab vulnerabilities
- TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
- TI-2026-58817 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab KEVCVSS 3.1CRITICAL 10.0
- TI-2023-06425 Weak Password Recovery Mechanism for Forgotten Password in GitLab KEVCVSS 3.1CRITICAL 10.0
- TI-2021-05191 Code injection in GitLab KEVCVSS 3.1CRITICAL 10.0
- TI-2021-05161 Server-side request forgery in GitLab KEVCVSS 3.1CRITICAL 9.8
- TI-2022-02763 Injection in GitLab CVSS 3.1CRITICAL 9.9
Sources
- CVE-2026-1868 · CVE Program
- CVE-2026-1868 · NVD
- FIRST EPSS
- GHSA-jfr3-cr47-9vqq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences