CVE-2026-1868: Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway
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.
Other sources
The Duo Workflow Service component of GitLab AI Gateway before versions 18.6.2, 18.7.1, and 18.8.1 is vulnerable to insecure template expansion of user supplied data via crafted Duo Agent Platform Flow definitions. Authenticated access to the GitLab instance is required. This vulnerability could be used to cause Denial of Service or gain code execution on the Gateway.
— GitLab
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2026-1868?
CVE-2026-1868 has a moderate severity rating due to its potential impact on data integrity and application behavior.
How do I fix CVE-2026-1868?
To remediate CVE-2026-1868, upgrade your GitLab AI Gateway to version 18.6.2 or later.
Which versions of GitLab are affected by CVE-2026-1868?
CVE-2026-1868 affects all versions of GitLab AI Gateway from 18.1.6, 18.2.6, 18.3.1 to 18.6.1, 18.7.0, and 18.8.0.
What components are impacted by CVE-2026-1868?
CVE-2026-1868 specifically impacts the Duo Workflow Service component of GitLab AI Gateway.
Is there a patch available for CVE-2026-1868?
Yes, a patch is available in GitLab AI Gateway version 18.6.2 and later.