CVE-2026-55447 — Vulnerability in langflow — CVE Details
Langflow: BaseFileComponent-based nodes arbitrary file read with RCE exploit
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.66%). Schedule for your next planned update.
Does your project use an affected langflow version?
Paste your requirements.txt to check it for CVE-2026-55447 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
All components based on BaseFileComponent are vulnerable to the following vulnerability:
- Docling (
DoclingInlineComponent) - Docling Serve (
DoclingRemoteComponent) - Read File (
FileComponent) - NVIDIA Retriever Extraction (
NvidiaIngestComponent) - Video File (
VideoFileComponent) - Unstructured API (
UnstructuredComponent)
For clarity, from now on I'll only refer to Read File component.
The Read File node processes user-controlled files. Example scenario is a RAG chatbot - a system that allows users of an organization to ask questions about documents saved in the organizations.
By controlling a files that are digested into the RAG, an attacker can direct the node to read any file on the file-system by absolute path.
Using this vulnerability an attacker can acheive RCE:
- Upload a file that directs the node to read Langflow's
secret_keyfile containing the JWT token secret. - This would allow the attacker then to simply task the Chatbot for the JWT secret.
- Using this secret, the attacker then crafts a JWT token for any user-id, bypassing authentication.
- Code execution is then trivial - simply create a new flow with "Python Interpreter" node, fill it with arbitrary Python code and execute it.
Tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe
Details
The vulnerability is in:
langflow/src/lfx/src/lfx/base/data/base_file.py
Specifically in _unpack_bundle. This function extracts tar files, which can contain a symlink.
This symlink can point to any file in the filesystem. Then, in self.process_files(), the file pointed by the symlink will be parsed and saved into the RAG.
This can be done with unlimited number of symlinks in the same tar which can also be useful in some scenarios.
Suggestd fix - iterate over the files and make sure all are regular files or directories.
PoC
Reproduction:
- Create a flow with Read File (or any other affected components), and connect its output to some storage such as Chroma DB.
- Create a symlink pointing to any file. For the above exploit, point the symlink to langflow's JWT token file.
- Compress this symlink with tar.
- Upload it to the Read File component.
- Check the database, or ask a Chatbot connected to this vector database for the contents of the file.
Concrete PoC:
- Flow with RAG ingestion and a Chatbot around it: Vector Store RAG.json
- Exploit tar: archive.tar.txt (remove .txt, GitHub blocked .tar)
- Create a file
/tmp/trip.docxwith any contents in it - Ingest the file in the flow above, and ask the Chatbot a question about this file.
A demo showing the attack:
https://github.com/user-attachments/assets/af00f700-f13f-4eac-848e-8afd11fb9297
In the demo the attacker steals Langflow secret key used to sign JWTs. The second stage of the attack, not shown in the demo, is using this key to sign a JWT token and executing Python code on the server using the Python code interpreter node.
Impact
Any Langflow user using any of the above mentioned components to ingest user-controlled data is affected. Depending on exact scenario, the user can also be exposed to an RCE risk.
Patches
Fixed in 1.9.2 via PR #12945. BaseFileComponent._unpack_bundle now rejects symlink and hardlink members (and any non-regular entries) during TAR extraction, with additional defensive symlink filtering during directory recursion and after extraction. Upgrade to 1.9.2 or later.
Ori Lahav Security Researcher @ Rubrik Inc.
Advisory Timeline
- First published June 19, 2026 (160 days ago).
- Last revised June 29, 2026 — 10 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "langflow>=1.9.2"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| langflow PyPI · Affected: 0.0.31, 0.0.32, 0.0.33, 0.0.40 (+291 more) | 1.9.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-200Information ExposureMITRE
- CWE-61
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-55447?
- Langflow: BaseFileComponent-based nodes arbitrary file read with RCE exploit. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2026-55447?
- CVE-2026-55447 affects langflow. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55447 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 46.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2024-48061CRITICAL
Langflow vulnerable to remote code execution
- CVE-2026-21445CRITICAL
Langflow Missing Authentication on Critical API Endpoints
- CVE-2026-0770CRITICAL
Langflow affected by Remote Code Execution via validate_code() exec()
- CVE-2026-7873CRITICAL
Langflow: Code Injection Vulnerability in Code Validation Endpoint
- CVE-2026-33873CRITICAL
Langflow has Authenticated Code Execution in Agentic Assistant Validation
- CVE-2026-33017CRITICAL
Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint
- CVE-2026-105697CRITICAL
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- CVE-2026-55450CRITICAL
Langflow: Unauthenticated file upload leads to DoS (space exhaustion) and information leak