CVE-2026-90970
Improper Neutralization of Special Elements Used in a Template Engine in GitLab AI Gateway
No known exploitation. EPSS puts it in the 60th percentile. Fixed versions are out.
What to do
Find your product and version, then upgrade to the build on the right.
- GitLab AI GatewayAffected: ≥ 18.1.6, < 19.2.4Upgrade to: 19.2.4Affected: ≥ 19.3, < 19.3.2Upgrade to: 19.3.2Affected: ≥ 19.4, < 19.4.1Upgrade to: 19.4.1Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your GitLab instance runs the AI Gateway component and has Duo Agent Platform enabled.
- Identify your current AI Gateway version (look for anything from 18.1.6 up to but below 19.2.4, 19.3.2, or 19.4.1).
- Upgrade to GitLab AI Gateway 19.2.4, 19.3.2, or 19.4.1 (or newer), matching your release branch.
- If you cannot upgrade immediately, restrict Duo Agent Platform access to only fully trusted users until the update is applied.
- After upgrading, verify the running version matches the fixed release.
Coverage timeline
3 publishersGitLab released patches for a critical RCE vulnerability in its self-hosted AI Gateway that allowed authenticated users to escape prompt template sandboxes.
Advisory coverage
Sourced from public security reporting — each date is when it was published, not when it happened. 3 further articles named this CVE in wider roundups without reporting it as a distinct event.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordA serious flaw in GitLab's AI Gateway could let a logged-in user with AI assistant access take over the server running it, so if you use GitLab's Duo AI features you should update now.
Improper sandboxing of the prompt template engine in GitLab AI Gateway (CWE-1336) allows an authenticated Duo Agent Platform user to craft a malicious flow configuration that escapes the sandbox and achieves arbitrary command execution on the AI Gateway host.
If you're affected
- Full AI Gateway server takeover
- Lateral access into internal network
- Exposure of code and prompt data
- Operational disruption from compromised AI service
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.9% chance of exploitation activity in the next 30 days, which ranks it in the 60th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 0 days, from the signal feeds we watch.
- Patch availablepatch available, published, weakness classified, record updated, record updated
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scored 9.9 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
Sources
References in the record
In the news
- GitLab Patches CVSS 10.0 Flaw That Could Let Unauthenticated Users Run Server Code
- В GitLab AI Gateway исправили критический баг на 9,9 балла
- ⚡ Weekly Recap: NetScaler and FortiMail 0-Days, AI Coding Leaks, Spectre v2 and Ransomware Arrests
- 5th October – Threat Intelligence Report
- GitLab Patches Critical 9.9 AI Gateway Flaw Allowing Command Execution on Self-Hosted Servers
- GitLab warns of critical RCE vulnerability in AI Gateway service
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for GitLab AI Gateway, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI