- An authenticated Duo Agent Platform user could have escaped the prompt template sandbox and executed arbitrary commands on the AI Gateway.
- Affected AI Gateway release lines include versions from 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1.
- GitLab released versions 19.2.4, 19.3.2, and 19.4.1 with the security fix.
GitLab disclosed and patched a critical AI Gateway flaw that could have allowed an authenticated user with Duo Agent Platform access to execute arbitrary commands on the gateway under certain conditions.
The affected release lines include versions from 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1.
According to The Hacker News, a custom flow is an AI-powered workflow that users create on the Duo Agent Platform to automate multi-step tasks.
On this page
A crafted flow could escape the sandbox
GitLab said the flaw was in the prompt template of a custom flow. A specially crafted flow configuration could let an authenticated user with Duo Agent Platform access escape the prompt template sandbox and execute arbitrary commands on the AI Gateway.
GitLab fixed the self-hosted release lines
GitLab sent guidance to self-hosted AI Gateway customers before publishing its advisory, it said. GitLab credited HackerOne user invisiblemeerkat with reporting the flaw.
GitLab fixed another gateway flaw in February
GitLab fixed another gateway flaw, CVE-2026-1868, in February and rated it 9.9. The Hacker News said both flaws are template engine weaknesses in the same class, CWE-1336.
What to do now
- Update Self-Hosted AI Gateway installations to version 19.2.4, 19.3.2, or 19.4.1.
- For a Docker deployment, stop and remove the running container, then pull and run the new image tag.
FAQ
Are GitLab-hosted AI Gateways affected?
Customers using GitLab.com, GitLab Dedicated, and GitLab Self-Managed instances using a GitLab-hosted AI Gateway are protected and do not need to take action.
Sources
How we checked this story
| Claim | Source | Status |
|---|---|---|
| GitLab released AI Gateway versions 19.2.4, 19.3.2, and 19.4.1. | GitLab | Confirmed |
| GitLab said the releases contain a critical security fix for Self-Hosted AI Gateway. | GitLab | Confirmed |
| GitLab deployed a fix for GitLab-hosted AI Gateways. | GitLab | Confirmed |
| Under certain conditions, an authenticated user with Duo Agent Platform access could escape the prompt template sandbox and execute arbitrary commands on the AI Gateway. | GitLab | Confirmed |
| Affected versions include releases from 18.1.6 before 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1. | GitLab | Confirmed |
| GitLab sent guidance to self-hosted AI Gateway customers before publishing its advisory. | GitLab, via The Hacker News | Attributed |
| GitLab credited HackerOne user invisiblemeerkat with reporting the flaw. | GitLab, via The Hacker News | Attributed |
| GitLab said the flaw was in the prompt template of a custom flow. | GitLab, via The Hacker News | Attributed |
| The Hacker News said a custom flow is an AI-powered workflow users create on Duo Agent Platform to automate multi-step tasks. | The Hacker News | Attributed |
| GitLab fixed another gateway flaw, CVE-2026-1868, in February and rated it 9.9. | GitLab, via The Hacker News | Attributed |
| The Hacker News said both flaws are template engine weaknesses of the same class, CWE-1336. | The Hacker News | Attributed |
Could not verify
- Whether CVE-2026-90970 was exploited in the wild is not established.
- Whether a public proof of concept exists is not established.
- How many AI Gateway installations or users are affected is not established.
- Whether the attack conditions require a particular user role is not established.
- Whether fixes for older gateway release lines are planned is not established.



