GitLab patches a critical prompt-template sandbox escape in its self-hosted AI Gateway
Confirmed
Status
- Claim
Confirmed
- Our reporting
- High confidence
- Importance
- 2 of 5
- Last verified
- 3 October 2026
Your AI and this story
- GPT-6.2 Astra124 days after its cutoff
- Claude Opus 5.594 days after its cutoff
- Gemini 4 Hydrogen185 days after its cutoff
- Grok 4.7124 days after its cutoff
None of these four assistants can know about it. The closest, Claude Opus 5.5, stops 94 days before it.
Key facts
- CVE-2026-90970, CVSS 9.9, template-engine weakness (CWE-1336); reported via HackerOne by ‘invisiblemeerkat’
- Affected: AI Gateway 18.1.6 up to 19.2.4, 19.3 before 19.3.2, 19.4 before 19.4.1; fixed in 19.2.4, 19.3.2, 19.4.1; no workaround
- Requires an authenticated account with Duo Agent Platform access; GitLab.com, Dedicated and GitLab-hosted gateways were already patched
- CISA’s assessment on the CVE record (Oct 2) lists exploitation as ‘none’
- Same week: Loom for AWS, an AWS agent control-plane project, disclosed CVE-2026-103956 (CVSS 10), a missing-authentication flaw giving unauthenticated super-admin control in deployments without an identity provider (fixed in 1.6.1, released Aug 4)
What happened
GitLab’s AI Gateway runs Duo agent flows. Custom flows use prompt templates, and a crafted flow could break out of the template engine and execute commands on the gateway host. GitLab fixed its hosted gateways first and asked self-hosted customers to upgrade.
Why it matters
As companies self-host agent platforms, the orchestration layer (templates, tool servers, control planes) becomes an attack surface with access to credentials and code. The GitLab and Loom for AWS bugs show the same pattern in the same week.
Sources
4 sources from 4 sites. Numbers match the chips in the text.
4 sources: 1 primary, 3 press
Primary
- GitLab: AI Gateway 19.4.1 patch releasedocs.gitlab.com, official
Press
- The Hacker News: GitLab patches critical 9.9 AI Gateway flaw allowing command execution on self-hosted serversthehackernews.com, press
- Security Affairs: CVE-2026-90970 critical GitLab AI Gateway flaw fixedsecurityaffairs.com, press
- TheHackerWire: CVE-2026-103956, Loom for AWS unauthenticated super-admin takeoverthehackerwire.com, press
Changes
- Filed