Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with Duo Agent Platform access
-
DeliverySubmit crafted flow configuration
-
ExploitEscape prompt template sandbox (SSTI)
-
ExecutionExecute arbitrary commands on AI Gateway
-
ImpactCompromise gateway and connected data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires an authenticated GitLab user who has been granted Duo Agent Platform access (PR:L), and the attacker must be able to supply a specially crafted flow configuration whose prompt template escapes the sandbox. The affected deployment must be running GitLab AI Gateway in the vulnerable ranges (18.1.6 up to but not including 19.2.4, 19.3 up to 19.3.2, or 19.4 up to 19.4.1) with the Duo Agent Platform feature enabled. The description's qualifier 'under certain conditions' indicates not every flow configuration or deployment state is exploitable, which limits the realistic attack surface. The main limiting factor is the need for legitimate authenticated Duo Agent Platform access rather than anonymous network reach; organizations that have not enabled Duo Agent Platform are not exposed. |
| Impact | This is a genuine high-priority vulnerability, not a high-CVSS-but-low-real-risk case. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, score 9.9) describes a network-exploitable, low-complexity flaw requiring only low privileges and no user interaction, with a scope change and full confidentiality/integrity/availability impact - consistent with a prompt-template sandbox escape (CWE-1336 / SSTI) yielding arbitrary command execution on the AI Gateway host. The PR:L rating aligns with the description's requirement for an authenticated user holding Duo Agent Platform access, so exploitation is gated by having a legitimate (though possibly low-tier) account on the platform rather than being open to anonymous internet attackers. No EPSS score, SSVC decision, KEV listing, or POC indicator was provided in the input, so probabilistic exploitation likelihood and confirmed real-world activity cannot be assessed from available data. The phrase 'under certain conditions' in the description introduces uncertainty about whether every deployment is exploitable or only specific flow configurations are - verify exploitability prerequisites with GitLab. Overall: credible critical-severity RCE in a security-relevant component, warranting prompt patching wherever Duo Agent Platform is enabled, but with no evidence of active exploitation at time of analysis. |
| Exploit ScenarioDerived | An attacker who already holds an authenticated GitLab account with Duo Agent Platform access creates a specially crafted flow configuration whose prompt template breaks out of the templating sandbox. The injected template directives are evaluated server-side, resulting in arbitrary command execution on the AI Gateway. No public exploit code was identified in the provided data, and the low attack complexity (AC:L) means a working technique would be straightforward to reuse once known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Remote command execution on the GitLab AI Gateway is achievable by an authenticated user who has been granted Duo Agent Platform access, by supplying a specially crafted flow configuration whose prompt template escapes the intended sandbox (CVE-2026-90970). The flaw is a server-side template injection (CWE-1336) rated CVSS 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), meaning a single low-privileged authenticated account yields high confidentiality, integrity, and availability impact that extends beyond the vulnerable component's own security scope. Affected deployments are AI Gateway versions 18.1.6 up to but not including 19.2.4, 19.3 before 19.3.2, and 19.4 before 19.4.1; GitLab has remediated the issue and no public exploit identified at time of analysis, though the requirement for Duo Agent Platform to be enabled and for the attacker to hold a legitimate authenticated account with access to it materially narrows the exposed population.
RemediationAI
Vendor-released patch: upgrade the GitLab AI Gateway to 19.2.4, 19.3.2, or 19.4.1 (depending on your release train), per the advisory at https://gitlab.com/gitlab-org/gitlab/-/work_items/628842; applying the fixed build is the only complete remediation because the defect is in the template rendering logic itself and cannot be fully closed by configuration. Where an immediate upgrade is not possible, reduce exposure by disabling the Duo Agent Platform feature entirely if it is not in active use - this removes the vulnerable flow-configuration path, at the cost of losing all Duo agent functionality - or, if it must remain enabled, restrict the ability to create or edit custom flow configurations to a small, trusted set of users and audit for template-expression syntax in existing flow definitions and prompt templates, since the attacker must already hold authenticated Duo Agent Platform access. Because the gateway usually holds model-provider credentials and internal network reach (the vector's S:C reflects impact beyond the component), network-segment the AI Gateway, replace any provider or service credentials it can reach, and review gateway logs for unexpected command invocations or anomalous template payloads in flow configurations as a compensating detective control. Rotate secrets held by the gateway after any suspected exploitation, as command execution on the gateway exposes those credentials even after patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The GitLab AI Gateway is the component that mediates requests between GitLab and large language model backends, rendering prompt templates and executing user-defined flows for the Duo Agent Platform. The root cause is CWE-1336, Improper Neutralization of Special Elements Used in a Template Engine, i.e. classic server-side template injection: a crafted flow configuration can inject template directives into a prompt template that are evaluated by the rendering engine rather than treated as inert text, letting the attacker break out of the prompt template sandbox and reach the underlying runtime, where arbitrary commands can be executed. The CVSS vector carries S:C (scope changed), reflecting that compromise of the AI Gateway can affect resources beyond the component's own authority - a realistic concern because the gateway typically holds credentials and network reach into model providers and internal services. The CPE cpe:2.3:a:gitlab:gitlab_ai_gateway:*:*:*:*:*:*:*:* with a wildcard version is consistent with a component distributed alongside GitLab and versioned independently of the GitLab application itself. Exploitation is gated by PR:L (authenticated) and by the Duo Agent Platform feature being enabled and granted to the attacker; the vendor's 'under certain conditions' qualifier indicates that not every flow configuration or deployment state reaches the vulnerable code path. Reference tags associate the issue with SSTI and information disclosure as well as the command-execution impact.
Know when Gitlab Ai Gateway gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable gateway (AV:N), authenticated Duo Agent user (PR:L), no interaction (UI:N); sandbox escape crosses a trust boundary (S:C) yielding full command execution (C/I/A:H).
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
A critical remote code execution flaw in GitLab AI Gateway (CVE-2026-90970) allows any authenticated user with Duo Agent Platform access to run arbitrary commands on the gateway host by submitting a crafted flow configuration. Because exploitation requires a legitimate account and the Duo Agent Platform feature to be enabled, the exposed population is limited to organizations running those deployments rather than the general internet, but any single low-privileged user inside that population can compromise the confidentiality, integrity, and availability of systems beyond the gateway itself. Leadership should care because the affected service sits inside the development pipeline, where a successful attack could expose source code, credentials, and CI/CD infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Gitlab Ai Gateway
View allServer-side request forgery in the GitLab AI Gateway (Duo Agent Platform) lets an authenticated user redirect outbound m
Server-Side Request Forgery (SSRF) in GitLab AI Gateway allows authenticated users with Duo Agent Platform access to exf
EUVD-2026-91651
GHSA-5295-vp56-jghq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB