Intel

AIKIDO-2026-802157

gitlab-ai-gateway is vulnerable to Remote Code Execution (RCE)

CVE-2026-90970Published Oct 6, 2026
October 6, 2026

99

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

The custom flow prompt template sandbox accepts a flow configuration that escapes the template engine. An authenticated user with Duo Agent Platform access can therefore run arbitrary commands on the AI Gateway. The fix confines flow prompt templates so a crafted configuration cannot leave the sandbox.

How do I fix this?

Upgrade the gitlab-ai-gateway library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and authenticated users with Duo Agent Platform access can edit flow configurations on a self-hosted AI Gateway.

Package

gitlab-ai-gateway

Versions

18.1.6 - 19.2.3

Fixed in 19.2.4

19.3.0 - 19.3.1

Fixed in 19.3.2

19.4.0 - 19.4.0

Fixed in 19.4.1

Background info

gitlab-ai-gateway is vulnerable to Remote Code Execution (RCE) in versions 18.1.6 - 19.2.3, 19.3.0 - 19.3.1 and 19.4.0 - 19.4.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea