// AI threat desk · 26 Nov 2026
Home/CVE · Vulns & Patches
Vulns & PatchesCriticalCVECVSS 9.9

GitLab AI Gateway flaw could let users run commands

A flaw could let authenticated Duo Agent Platform users execute commands on GitLab AI Gateway; GitLab disclosed fixed versions.

stock image, not from the event
File photo: stock image, not from the event. Photo: wige / Pixabay
Key takeaways
  • 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

  1. Update Self-Hosted AI Gateway installations to version 19.2.4, 19.3.2, or 19.4.1.
  2. 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

  1. GitLab AI Gateway Critical Patch Release: 19.2.4, 19.3.2, and 19.4.1 | GitLab Docs, GitLabPrimary
  2. GitLab Patches Critical 9.9 AI Gateway Flaw Allowing Command Execution on Self-Hosted Servers, The Hacker News
How we checked this story
ClaimSourceStatus
GitLab released AI Gateway versions 19.2.4, 19.3.2, and 19.4.1.GitLabConfirmed
GitLab said the releases contain a critical security fix for Self-Hosted AI Gateway.GitLabConfirmed
GitLab deployed a fix for GitLab-hosted AI Gateways.GitLabConfirmed
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.GitLabConfirmed
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.GitLabConfirmed
GitLab sent guidance to self-hosted AI Gateway customers before publishing its advisory.GitLab, via The Hacker NewsAttributed
GitLab credited HackerOne user invisiblemeerkat with reporting the flaw.GitLab, via The Hacker NewsAttributed
GitLab said the flaw was in the prompt template of a custom flow.GitLab, via The Hacker NewsAttributed
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 NewsAttributed
GitLab fixed another gateway flaw, CVE-2026-1868, in February and rated it 9.9.GitLab, via The Hacker NewsAttributed
The Hacker News said both flaws are template engine weaknesses of the same class, CWE-1336.The Hacker NewsAttributed

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.
Explore with AI