{"id":"CVE-2026-33309","published":"2026-03-24T12:49:16Z","modified":"2026-03-25T03:55:47Z","title":"Langflow has an Arbitrary File Write (RCE) via v2 API","vendor":"langflow-ai","product":"langflow","tier":"core","eol":null,"affectedVersions":[{"vendor":"langflow-ai","product":"langflow","versions":[">= 1.2.0, < 1.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-24T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"description":{"text":"Langflow is a tool for building and deploying AI-powered agents and workflows. Versions 1.2.0 through 1.8.1 have a bypass of the patch for CVE-2025-68478 (External Control of File Name), leading to the root architectural issue within `LocalStorageService` remaining unresolved. Because the underlying storage layer lacks boundary containment checks, the system relies entirely on the HTTP-layer `ValidatedFileName` dependency. This defense-in-depth failure leaves the `POST /api/v2/files/` endpoint vulnerable to Arbitrary File Write. The multipart upload filename bypasses the path-parameter guard, allowing authenticated attackers to write files anywhere on the host system, leading to Remote Code Execution (RCE). Version 1.9.0 contains an updated fix.","provenance":"source","from":"CVE.org"},"summary":{"text":"Langflow versions 1.2.0 through 1.8.1 contain an arbitrary file write flaw in the POST /api/v2/files/ endpoint, where the multipart upload filename bypasses the path-parameter guard and the underlying LocalStorageService lacks boundary containment checks. An attacker with network access and low-privilege authenticated credentials, without any user interaction, can write files to arbitrary locations on the host, which can lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:35Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.13939,"percentile":0.96629,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-10-18","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":15,"pulses":[{"name":"Known_Cve | Apr 2, 2026","url":"https://otx.alienvault.com/pulse/69cd218119ae861872e4c8be","created":"2026-04-01"},{"name":"Known_Cve | Apr 1, 2026","url":"https://otx.alienvault.com/pulse/69cbd0525d7d354a36262e7c","created":"2026-03-31"},{"name":"Known_Cve | Mar 31, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca8519c290268fd9da68cc","created":"2026-03-30"},{"name":"Known_Cve | Mar 31, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ca8513b66a6dde3b8bc51d","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca0daa0d61a3082fccd483","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69ca0da448c55195dd70b3f3","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c932c178f05822e0970ce2","created":"2026-03-29"},{"name":"Known_Cve | Mar 30, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c932bb80fc9fc5fdb58718","created":"2026-03-29"},{"name":"Known_Cve | Mar 28, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/69c69277127fedcfcf9349b0","created":"2026-03-27"},{"name":"Known_Cve | Mar 28, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/69c692714d541ca5a6493eb8","created":"2026-03-27"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-g2j9-7rj2-gm6c","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"langflow","vulnerableRanges":[">=1.2.0, <1.9.0"],"patched":["1.9.0"],"from":["GHSA-g2j9-7rj2-gm6c","PYSEC-2026-79"],"provenance":"source"}],"advisories":[{"id":"GHSA-g2j9-7rj2-gm6c","url":"https://github.com/advisories/GHSA-g2j9-7rj2-gm6c","severity":"CRITICAL","ecosystem":"PyPI","package":"langflow","vulnerableRanges":[">=1.2.0, <1.9.0"],"patched":["1.9.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-14788","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-14788","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-03-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-33309","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":74.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 34 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.33,"detail":"percentile 0.9663"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.73,"detail":"15 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-langflow-ai-langflow-cve-2025-68478","parents":[{"from":"CVE-2025-68478","to":"CVE-2026-33309","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"Versions 1.2.0 through 1.8.1 have a bypass of the patch for CVE-2025-68478 (External Control of File Name), leading to the root architectural issue within `LocalStorageService` remaining unresolved.","from":"CVE.org","in":"CVE-2026-33309"}]}]}}