{"id":"CVE-2026-5027","aliases":["EUVD-2026-16668","GHSA-wr3v-m658-mf42"],"status":"published","title":"Langflow - Path Traversal Arbitrary File Write via upload_user_file","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 ('../').","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.39973,"percentile":0.9864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-22"],"published":"2026-03-27T14:54:53Z","modified":"2026-10-28T02:30:42Z","exploits":[{"source":"pocgithub","id":"yahiahamza/CVE-2026-5027","title":"yahiahamza/CVE-2026-5027","date":"2026-04-02","url":"https://github.com/yahiahamza/CVE-2026-5027"},{"source":"pocgithub","id":"EQSTLab/CVE-2026-5027","title":"EQSTLab/CVE-2026-5027","date":"2026-04-03","url":"https://github.com/EQSTLab/CVE-2026-5027"},{"source":"pocgithub","id":"ashrafzaryouh/CVE-2026-5027","title":"ashrafzaryouh/CVE-2026-5027","date":"2026-04-03","url":"https://github.com/ashrafzaryouh/CVE-2026-5027"},{"source":"pocgithub","id":"min8282/CVE-2026-5027","title":"min8282/CVE-2026-5027","date":"2026-04-03","url":"https://github.com/min8282/CVE-2026-5027"},{"source":"pocgithub","id":"Layer-6/CVE-2026-5027-Langflow","title":"Layer-6/CVE-2026-5027-Langflow","date":"2026-06-10","url":"https://github.com/Layer-6/CVE-2026-5027-Langflow"},{"source":"pocgithub","id":"HORKimhab/CVE-2026-5027","title":"HORKimhab/CVE-2026-5027","date":"2026-06-11","url":"https://github.com/HORKimhab/CVE-2026-5027"},{"source":"pocgithub","id":"yym8538/CVE-2026-5027","title":"yym8538/CVE-2026-5027","date":"2026-08-21","url":"https://github.com/yym8538/CVE-2026-5027"},{"source":"exploitdb","id":"EDB-52659","title":"Langflow  1.8.4 - Path Traversal to Remote Code Execution","type":"webapps","platform":"multiple","date":"2026-08-31","url":"https://www.exploit-db.com/exploits/52659"},{"source":"pocgithub","id":"rmhowe425/POC-CVE-2026-5027","title":"rmhowe425/POC-CVE-2026-5027","date":"2026-09-02","url":"https://github.com/rmhowe425/POC-CVE-2026-5027"},{"source":"nuclei","id":"CVE-2026-5027","title":"Langflow \u003c= 1.8.4 - Path Traversal to RCE via File Upload","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-5027.yaml"}],"products":[{"vendor":"langflow","product":"langflow"},{"vendor":"langflow-ai","product":"langflow"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2026-26","tags":["Vendor Advisory","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5027","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wr3v-m658-mf42"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5027.json","tags":["advisory"]},{"url":"https://github.com/langflow-ai/langflow","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-5027","title":"Langflow - Path Traversal Arbitrary File Write via upload_user_file","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 ('../').","status":"published","published":"2026-03-27T14:54:53.609Z","modified":"2026-03-27T15:11:42.918Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T13:39:39.001586Z"}],"euvd":[{"id":"EUVD-2026-16668","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 ('../').","status":"published","published":"2026-03-27T14:54:53Z","modified":"2026-03-27T15:11:42Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:25:27.277964Z"}],"ghsa":[{"id":"GHSA-wr3v-m658-mf42","title":"The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart...","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 ('../').","status":"published","published":"2026-03-27T15:30:26Z","modified":"2026-03-27T15:30:32Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:06:54.074781Z"}],"nvd":[{"id":"CVE-2026-5027","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 ('../').","status":"published","published":"2026-03-27T15:17:04.743Z","modified":"2026-08-18T18:00:03.02Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:11.678711Z"}],"osv":[{"id":"CVE-2026-5027","title":"Langflow - Path Traversal Arbitrary File Write via upload_user_file","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 ('../').","status":"published","published":"2026-03-27T14:54:53.609Z","modified":"2026-10-28T02:30:42.699423107Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:07.431113Z"}]}}
