Intel

AIKIDO-2026-444380

cuga is vulnerable to Path Traversal

Path TraversalGHSA-55pr-c85h-3p9q Published Aug 27, 2026

75

High Risk

This Affects:

PYTHONcuga
0.0.1 - 0.3.1
Fixed in 0.3.2
Are you affected? Scan for Free

TL;DR

The serve_flows and serve_react static file routes build a filesystem path with os.path.join from a user-supplied URL segment and serve it after only an existence check, without confirming the resolved path stays under the static directory. A request containing ../ sequences escapes the static root and reads arbitrary files readable by the server process without authentication. This exposes sensitive deployment files such as .env files holding model-provider API keys and other secrets. The fix validates each resolved path with assert_resolved_path_under and returns 404 for paths that resolve outside the static root.

Who does this affect?

You are affected if you run the CUGA backend server and its serve_flows/serve_react static file routes are reachable on the network.

Background info

cuga is vulnerable to Path Traversal in versions 0.0.1 - 0.3.1.

How to fix this

Upgrade the cuga 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