CVE-2024-48061 Langflow vulnerable to remote code execution
Attackers can execute arbitrary code on the local machine by exploiting unsandboxed component code execution features in Langflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-48061?
CVE-2024-48061 is a critical code injection vulnerability in Langflow Langflow, published on 4 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
langflow <=1.0.18 is vulnerable to Remote Code Execution (RCE) as any component provided the code functionality and the components run on the local machine rather than in a sandbox.
Weakness: CWE-94
Which versions are affected by CVE-2024-48061?
3 open source packages ship an affected version, including langflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
langflow PyPI | All versions to 1.0.18 | None |
langflow PyPI | All versions to 1.0.18 | None |
langflow PyPI | All versions to 1.0.18 | None |
Products include Langflow Langflow.
How do I fix CVE-2024-48061?
No fix has been published for CVE-2024-48061 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-48061 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48061 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Langflow Langflow
Sources
Also known as GHSA-5p5r-57fx-pmfr, PYSEC-2026-1523.