CVE-2026-90970: Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway
GitLab has remediated a vulnerability in the GitLab AI Gateway component affecting all versions of the AI Gateway from 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1 that, under certain conditions, could have allowed an authenticated user with Duo Agent Platform access to escape the prompt template sandbox via a specially crafted flow configuration, resulting in arbitrary command execution on the AI Gateway.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitLab AI Gatewayto a version that resolves this vulnerability.Fixed in 19.2.4 - Upgrade
Upgrade
GitLab AI Gatewayto a version that resolves this vulnerability.Fixed in 19.3.2 - Upgrade
Upgrade
GitLab AI Gatewayto a version that resolves this vulnerability.Fixed in 19.4.1
Event History
Frequently Asked Questions
Who is exposed to this issue?
The issue affects GitLab AI Gateway versions from 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1. Exploitation requires an authenticated user who has access to the Duo Agent Platform.
What does an attacker need to do to exploit it?
An attacker needs authenticated Duo Agent Platform access and must submit a specially crafted flow configuration. Under certain conditions, this can escape the prompt template sandbox and execute arbitrary commands on the AI Gateway.
Which versions contain the fixes?
The remediated versions are 19.2.4, 19.3.2, and 19.4.1. Upgrade the affected AI Gateway release line to its corresponding fixed version or later.