CVE-2024-48061
Published: 04 November 2024
Summary
CVE-2024-48061 is a critical-severity Code Injection (CWE-94) vulnerability in Langflow Langflow. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 5.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Other Platforms; in the Other ATLAS/OWASP Terms risk domain; MITRE ATLAS techniques in scope: AI Model Inference API Access (AML.T0040), AI Supply Chain Compromise (AML.T0010), Exfiltration via AI Inference API (AML.T0024).
Deeper analysis
Langflow versions 1.0.18 and earlier contain a remote code execution vulnerability tracked as CVE-2024-48061. The flaw stems from components that expose code execution functionality without sandboxing, allowing the code to run directly on the host system. It carries a CVSS 3.1 score of 9.8 and is associated with CWE-94.
An unauthenticated attacker with network access can supply malicious components that execute arbitrary code on the target machine, resulting in full compromise of confidentiality, integrity, and availability. The attack requires no user interaction and can be launched remotely.
The two provided references consist of a technical gist and a Notion page that describe the issue but contain no official patch guidance or mitigation steps. The EPSS score has remained near 0.13 with only minor fluctuation between its current value of 0.1320 and peak of 0.1351.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3198
Vulnerability details
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Other Platforms
- Risk Domain
- Other ATLAS/OWASP Terms
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- Langflow is a visual low-code platform for building and deploying AI workflows, multi-agent applications, and RAG systems using LangChain, fitting 'Other Platforms' as it is not a specific framework, library, or narrow AI tool.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE-2024-48061 enables remote code execution (T1190: Exploit Public-Facing Application) via unsandboxed code components in Langflow, facilitating arbitrary command execution (T1059: Command and Scripting Interpreter).
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.