CVE-2026-5027

Langflow - Path Traversal Arbitrary File Write via upload_user_file

State
Published
Severity
8.8 High
Published
Mar 27, 2026
Updated
Mar 27, 2026
Reserved
Mar 27, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Htenable

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

Affected Products

ProductVersions
langflowlangflow-ai
  • 0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.