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 ('../').
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langflow-ai | langflow | — | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Langflow 1.8.4 - Path Traversal to Remote Code Execution EDB-52659 · webapps · Aug 31, 2026
GitHub 8 repositories
-
yahiahamza/CVE-2026-5027 ★ 4 · Apr 2, 2026
CVE-2026-5027 - Langflow Path Traversal to Remote Code Execution (CVSS 8.8)
-
EQSTLab/CVE-2026-5027 ★ 3 · Apr 3, 2026
Langflow, Remote Code Execution (RCE) via Cron Job Injection through Path Traversal
-
yym8538/CVE-2026-5027 ★ 1 · Aug 21, 2026
-
rmhowe425/POC-CVE-2026-5027 ★ 0 · Sep 2, 2026
Proof of concept exploit code for CVE-2026-5027
-
HORKimhab/CVE-2026-5027 ★ 0 · Jun 11, 2026
CVE-2026-5027 - Draft
-
Layer-6/CVE-2026-5027-Langflow ★ 0 · Jun 10, 2026
-
min8282/CVE-2026-5027 ★ 0 · Apr 3, 2026
Langflow, Remote Code Execution (RCE) via Cron Job Injection through Path Traversal (CVE-2026-5027)
-
ashrafzaryouh/CVE-2026-5027 ★ 0 · Apr 3, 2026
CVE-2026-5027
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Langflow <= 1.8.4 - Path Traversal to RCE via File Upload http/cves/2026/CVE-2026-5027.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2026-0900 Langflow: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 10, 2026