Langflow - Path Traversal Arbitrary File Write via upload_user_file (langflow-ai langflow)

CVE-2026-5027
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 39.97 % · percentile 99 ()
State
PUBLISHED
Published
Updated
Assigner
tenable
NVD status
Analyzed

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

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Htenable
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · vulnreport@tenable.com (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
langflow-ai · langflowaffected 0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD