CVE-2026-5027

HIGH

Langflow - Path Traversal Arbitrary File Write via upload_user_file

Title source: cna

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 ('../').

Exploits (4)

nomisec WORKING POC 1 stars
by EQSTLab · poc
https://github.com/EQSTLab/CVE-2026-5027
nomisec WORKING POC
by 0xBlackash · poc
https://github.com/0xBlackash/CVE-2026-5027
nomisec WORKING POC
by min8282 · poc
https://github.com/min8282/CVE-2026-5027
nomisec WORKING POC
by yahiahamza · poc
https://github.com/yahiahamza/CVE-2026-5027

Scores

CVSS v3 8.8
EPSS 0.0003
EPSS Percentile 7.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-22
Status published
Products (1)
langflow-ai/langflow
Published Mar 27, 2026
Tracked Since Mar 29, 2026