What’s Vulnerable › Vulnerabilities

CVE-2026-1868: Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway

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

How to fix

Upgrade to a fixed version: GitLab 18.6.2, 18.7.1, 18.8.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-1868 or the next vulnerability affects your stack