Intel

AIKIDO-2026-450540

langflow is vulnerable to Path Traversal

Path TraversalCVE-2026-5027 Published 2 days ago

88

High Risk

This Affects:

PYTHONlangflow
0.0.31 - 1.8.4
Fixed in 1.9.0
Are you affected? Scan for Free

TL;DR

POST /api/v2/files (upload_user_file) takes the multipart filename and uses it when storing the upload without rejecting path separators or ../ segments. An authenticated attacker can therefore write uploaded content outside the intended user file directory to an arbitrary filesystem location the process can reach. The fix validates and sanitizes the multipart filename so traversal sequences and path separators are rejected before storage.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and authenticated users can call the file upload API.

Background info

langflow is vulnerable to Path Traversal in versions 0.0.31 - 1.8.4.

How to fix this

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