CVE-2026-1868 PUBLISHED

Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway

Assigner: GitLab
Reserved: 03.02.2026 Published: 09.02.2026 Updated: 09.02.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor GitLab
Product GitLab AI Gateway
Versions Default: unaffected
  • affected from 18.1.6 to 18.6.2 (excl.)
  • affected from 18.7.0 to 18.7.1 (excl.)
  • affected from 18.8.0 to 18.8.1 (excl.)

Solutions

Upgrade self-hosted GitLab AI Gateway to version 18.6.2, 18.7.1, 18.8.1 or above.

Credits

  • This vulnerability has been discovered internally by GitLab team member Joern Schneeweisz finder

References

Problem Types

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine CWE