CVE-2026-1868: GitLab Ai Gateway

Critical severity, CVSS 9.9. EPSS: 0.9% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • GitLab Ai Gateway, from 18.1.6, before 18.6.2: fixed in 18.6.2
  • GitLab Ai Gateway, from 18.7.0, before 18.7.1: fixed in 18.7.1
  • GitLab Ai Gateway, from 18.8.0, before 18.8.1: fixed in 18.8.1

Affected products

  • GitLab GitLab Ai Gateway: from 18.1.6, before 18.6.2 (fixed in 18.6.2); from 18.7.0, before 18.7.1 (fixed in 18.7.1); from 18.8.0, before 18.8.1 (fixed in 18.8.1)

Published 2026-02-09. Last modified 2026-06-17.