CVE-2026-4502 Arbitrary File Write and Remote Code Execution Vulnerability in Langflow v2 API
An authenticated attacker can exploit path traversal to write arbitrary files, potentially leading to remote code execution in Langflow Desktop.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4502?
CVE-2026-4502 is a medium-severity path traversal vulnerability in IBM Langflow Desktop, published on 30 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
IBM Langflow Desktop 1.2.0 through 1.8.4 Langflow could allow an authenticated attacker to traverse directories on the system. An attacker could send a specially crafted URL request containing "dot dot" sequences (/../) to write arbitrary files on the system.
Weakness: CWE-22
Which versions are affected by CVE-2026-4502?
It affects 1 product.
Products include Langflow Langflow Desktop.
How do I fix CVE-2026-4502?
No fix has been published for CVE-2026-4502 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-4502 being exploited?
There is no known exploitation of CVE-2026-4502 in the wild and no public exploit code.
Other vulnerabilities in IBM Langflow Desktop
- CVE-2026-6543 Authenticated Remote Code Execution Vulnerability in Langflow Code Validation Endpoint
- CVE-2026-4503 Unauthenticated Insecure Direct Object Reference (IDOR) Vulnerability in Langflow Desktop Image Download Endpoint
- CVE-2026-3340 Server-Side Request Forgery (SSRF) in Langflow URL Component
- CVE-2026-3345 Path Traversal and Arbitrary File Write Vulnerability in IBM Langflow Desktop API v2 File Upload Endpoint
- CVE-2026-3346 Stored Cross-Site Scripting (XSS) in Langflow Markdown Rendering via rehypeRaw
Sources
Also known as GHSA-q6r8-4vgg-hrwg.