{"id":"CVE-2026-5027","published":"2026-03-27T14:54:53Z","modified":"2026-03-27T15:11:42Z","title":"Langflow - Path Traversal Arbitrary File Write via upload_user_file","vendor":"langflow-ai","product":"langflow","tier":"core","eol":null,"affectedVersions":[{"vendor":"langflow-ai","product":"langflow","versions":["0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-27T15:11:19.967941Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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 ('../').","provenance":"source","from":"CVE.org"},"summary":{"text":"Langflow, the langflow-ai product, contains a path traversal flaw in the POST /api/v2/files endpoint, which fails to sanitize the filename parameter in multipart form data. An attacker with network access and low-privilege authenticated credentials, requiring no user interaction, can use '../' sequences in the filename to write files to arbitrary locations on the filesystem.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:37Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.41123,"percentile":0.98685,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-06-08","exploitedFirstSeen":"2026-06-09","ransomware":false,"evidence":[{"url":"https://www.linkedin.com/posts/ccondon_kevs-share-7470128376624783361-Ot2c/","date":"2026-06-09"},{"url":"https://www.techgines.com/post/langflow-cve-2026-5027-path-traversal-rce","date":"2026-06-12"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-5027","date":"2026-07-10"},{"url":"https://www.recordedfuture.com/blog/june-2026-cve-landscape","date":"2026-07-10"},{"url":"https://www.vulncheck.com/blog/pwning-the-ai-stack","date":"2026-08-28"},{"url":"https://cloud.google.com/blog/topics/threat-intelligence/vulnerability-discovery-and-exploitation-trends-in-the-ai-era/","date":"2026-09-30"}],"evidenceTotal":6,"provenance":"source"},"exploited":true,"otx":{"pulseCount":21,"pulses":[{"name":"CVE-2026-87902 WordPress LFI/RCE Active Exploitation (pearcmd file write)","url":"https://otx.alienvault.com/pulse/6ab7603a4bd9a83778e1b235","created":"2026-09-26"},{"name":"Check Point VPN Critical RCEs CVE-2026-85102/85103 — NCSC Imminent Exploitation","url":"https://otx.alienvault.com/pulse/6ab21a9c425f80eb2bbefa14","created":"2026-09-22"},{"name":"Check Point VPN Critical RCEs CVE-2026-85102/85103 — NCSC Imminent Exploitation","url":"https://otx.alienvault.com/pulse/6ab0c94cd91d45f034568114","created":"2026-09-21"},{"name":"Check Point VPN Critical RCEs CVE-2026-85102/85103 — NCSC Imminent Exploitation","url":"https://otx.alienvault.com/pulse/6aa63dd39974f63674d4d194","created":"2026-09-13"},{"name":"PaperCut NG/MF CVE-2026-81578/82078 Mass RCE via 45.142.193.132 (AI-Orchestrated)","url":"https://otx.alienvault.com/pulse/6aa63cef9672396217b8d823","created":"2026-09-13"},{"name":"SAP OVERPASS & S4GET: Critical Unauth Kernel/Message Server RCEs (CVE-2026-44756, CVE-2026-58240)","url":"https://otx.alienvault.com/pulse/6aa248d8c5b6d6b3e7daf6fb","created":"2026-09-10"},{"name":"CVE-2026-32475 Elementor Pro Form Upload RCE Actively Exploited","url":"https://otx.alienvault.com/pulse/6a9d02a18abbba31bb6a9e76","created":"2026-09-06"},{"name":"Sangoma Switchvox CVE-2026-9586 Unauth SQLi RCE Active Exploitation","url":"https://otx.alienvault.com/pulse/6a990e0862b25cd5f95220b8","created":"2026-09-03"},{"name":"Langflow CVE-2026-0768 Critical Unauth RCE Actively Exploited","url":"https://otx.alienvault.com/pulse/6a97bca1e438766f512a8cc0","created":"2026-09-02"},{"name":"Active Exploit: Langflow RCE CVE-2026-0768 & Rails CVE-2026-66066 Credential/C2 Activity","url":"https://otx.alienvault.com/pulse/6a97bca155ecdcb7db1515a6","created":"2026-09-02"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.tenable.com/security/research/tra-2026-26","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-16668","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-16668","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52659,"url":"https://www.exploit-db.com/exploits/52659","title":"Langflow 1.8.4 - Path Traversal to Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2026-08-31","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-08-31"},"pocGithub":{"count":7,"skipped":1,"earliest":"2026-04-02","earliestUrl":"https://github.com/yahiahamza/CVE-2026-5027","repos":[{"name":"yahiahamza/CVE-2026-5027","url":"https://github.com/yahiahamza/CVE-2026-5027","stars":4,"created":"2026-04-02"},{"name":"EQSTLab/CVE-2026-5027","url":"https://github.com/EQSTLab/CVE-2026-5027","stars":3,"created":"2026-04-03"},{"name":"yym8538/CVE-2026-5027","url":"https://github.com/yym8538/CVE-2026-5027","stars":1,"created":"2026-08-21"},{"name":"min8282/CVE-2026-5027","url":"https://github.com/min8282/CVE-2026-5027","stars":0,"created":"2026-04-03"},{"name":"ashrafzaryouh/CVE-2026-5027","url":"https://github.com/ashrafzaryouh/CVE-2026-5027","stars":0,"created":"2026-04-03"}]},"nuclei":[{"id":"CVE-2026-5027","name":"Langflow <= 1.8.4 - Path Traversal to RCE via File Upload","severity":"high","path":"http/cves/2026/CVE-2026-5027.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-5027.yaml"}],"first":{"date":"2026-04-02","source":"PoC-in-GitHub","url":"https://github.com/yahiahamza/CVE-2026-5027"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-03-27","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-5027","provenance":"source"},{"date":"2026-04-02","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2026-08-31","url":"https://github.com/yahiahamza/CVE-2026-5027","provenance":"source"},{"date":"2026-06-09","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.linkedin.com/posts/ccondon_kevs-share-7470128376624783361-Ot2c/","provenance":"source"}],"speed":{"daysToPublicExploit":6,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":73.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":5.0,"detail":"added 169 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.74,"detail":"percentile 0.9869"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 7 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"21 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}