AI analysis
GitLab AI Gateway contains a prompt-template sandbox escape tracked as CVE-2026-90970 (CWE-1336). An authenticated user who already has Duo Agent Platform access can, under certain conditions, submit a specially crafted flow configuration that breaks out of the prompt template sandbox. The result is arbitrary command execution on the AI Gateway, scored CVSS 3.1 9.9 (network, low complexity, low privileges, changed scope, and high impact on confidentiality, integrity, and availability). Affected builds are AI Gateway 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1. No public proof of concept is known and the issue is not in CISA KEV.
What to do: Upgrade GitLab AI Gateway to 19.2.4, 19.3.2, or 19.4.1 on the matching release line. Until then, restrict Duo Agent Platform access to trusted users and review flow configurations and AI Gateway hosts for unexpected process or command activity.
Affected
| GitLab AI Gateway | 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1 |
Estimated exposure
—No basis for an estimate.
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description
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.