Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

NewsIncident

GitLab patches a critical AI Gateway flaw that let a crafted agent flow run commands on self-hosted servers

GitLab fixed CVE-2026-90970, rated CVSS 9.9, in the AI Gateway behind its Duo Agent Platform. An authenticated user with access to the platform could escape the prompt template sandbox with a specially crafted flow configuration and run arbitrary commands on the gateway. Self-hosted AI Gateway versions 18.1.6 through 19.2.3, 19.3 before 19.3.2 and 19.4 before 19.4.1 are affected; the fixes are 19.2.4, 19.3.2 and 19.4.1. GitLab.com, GitLab Dedicated and instances that use GitLab's hosted gateway were already patched. The flaw was reported through HackerOne; no exploitation has been reported. In February GitLab had fixed another CVSS 9.9 template engine flaw in the same component, CVE-2026-1868.

Why it matters

Agent platforms turn configuration into code: a flow definition that reaches a template engine is an execution path. Treat anyone who can edit agent flows as someone who can run commands on the gateway, and patch self-hosted AI components as fast as the main product.

Sources

Read it with the rest of the news in the Learning Center