| Component | Langflow |
| Severity | high (CVSS 8.8) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published (NVD) | 2026-03-27 |
| Last modified | 2026-08-18 |
| Affected versions | < 1.9.0 |
| Fixed in | 1.9.0 |
| Weakness | CWE-22 |
| CISA KEV | not listed |
NVD 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 ('../').
What to do
- Upgrade Langflow to
1.9.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.