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

- Severity: High 8.8 (CVSS:3.1, scored by tenable) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 42.1%, higher than 98% of CVEs (2026-12-01)
- Published: 2026-03-27T14:54:53.609Z
- Modified: 2026-08-18T18:00:03.020Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: tenable

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

(As written by CVE List.)

## Affected

- langflow-ai langflow: 0
- langflow langflow: before 1.9.0

## References

- <https://www.tenable.com/security/research/tra-2026-26> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2026-5027](https://www.cve.org/CVERecord?id=CVE-2026-5027), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2026-5027](https://nvd.nist.gov/vuln/detail/CVE-2026-5027), Public domain, modified 2026-08-18

---

Page: https://cve.day/CVE-2026-5027 · Whole record: https://cve.day/CVE-2026-5027.json · Rebuilt by cve.day 2026-11-25T22:59:17.399Z
