Insecure Template Expansion in GitLab AI Gateway Affects Multiple Versions
CVE-2026-1868
Key Information:
- Vendor
Gitlab
- Status
- CVE ID
- CVE ID:
- CVE-2026-1868
- Vendor
- CVE Published:
- 9 February 2026
- Fixed in
- Fixed in:
- 18.6.2, 18.7.1, 18.8.1
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the GitLab AI Gateway release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach GitLab AI Gateway. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is critical (9.9).
What is CVE-2026-1868?
GitLab has addressed a significant vulnerability within the Duo Workflow Service component of the GitLab AI Gateway. This affects all versions from 18.1.6 to 18.8.0, where the AI Gateway faces risks associated with insecure template expansion of user-supplied data through manipulated Duo Agent Platform Flow definitions. This issue could potentially lead to Denial of Service or unauthorized code execution on the Gateway. Remedial actions have been implemented in versions 18.6.2, 18.7.1, and 18.8.1.
References
More Gitlab Vulnerabilities
Integer Overflow Vulnerability in GitLab CE/EE Affects Multiple Versions
Arbitrary Code Execution Vulnerability in GitLab CE/EE
Arbitrary Command Execution Vulnerability in GitLab AI Gateway Component
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction