What’s Vulnerable › Vulnerabilities

CVE-2026-5027: Langflow - Path Traversal Arbitrary File Write via upload_user_file

Description

The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').

Affected products

How to fix

Upgrade to a fixed version: IBM Langflow OSS 1.9.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-5027 or the next vulnerability affects your stack