Intel

AIKIDO-2026-802157

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

Remote Code Execution (RCE)CVE-2026-90970 Published Yesterday

99

Critical Risk

This Affects:

OSgitlab-ai-gateway
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
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.

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.

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.

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform