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

Published Feb 9, 2026
·
Updated

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

1 affected componentFixes available
GitLab GitLab>=18.3.1<18.6.2
18.6.2

Remediation

Information

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

Event History

Feb 9, 2026
CVE Published
via MITRE·06:33 AM
Data Sourced
via MITRE·06:33 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·02:03 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

How do I fix CVE-2026-1868?

To remediate CVE-2026-1868, upgrade your GitLab AI Gateway to version 18.6.2 or later.

3

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.

4

What components are impacted by CVE-2026-1868?

CVE-2026-1868 specifically impacts the Duo Workflow Service component of GitLab AI Gateway.

5

Is there a patch available for CVE-2026-1868?

Yes, a patch is available in GitLab AI Gateway version 18.6.2 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203