CVE-2026-55447Critical· 9.6▾ MidnightLangflow: BaseFileComponent-based nodes arbitrary file read with RCE exploit
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 52.8 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.4%
0.4% → 0.7%
All components based on BaseFileComponent are vulnerable to the following vulnerability:
DoclingInlineComponent)DoclingRemoteComponent)FileComponent)NvidiaIngestComponent)VideoFileComponent)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:
secret_key file containing the JWT token secret.Tested on commit 2d67402b1dbaefcbce85a244d4a6cd5e4bda1cfe
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.
Reproduction:
/tmp/trip.docx with any contents in itA 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.
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.
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.
langflow < 1.9.2Upgrade to a patched release:
langflow 1.9.2Connected by shared product, vendor, weakness, or advisory.
CVE-2026-55450Critical· 9.3Langflow: Unauthenticated file upload leads to DoS (space exhaustion) and information leak
CVE-2026-19300High· 7.5IBM Langflow OSS 1.0.0 through 1.11.2 could allow a remote attacker to obtain sensitive information due to incomplete scrubbing of sensitive credential fields.
CVE-2026-6599Medium· 6.3Langflow vulnerable to injection
CVE-2026-6598Medium· 4.3Langflow: Cleartext Storage of Authentication Settings in Project Creation Endpoint
CVE-2026-34046HighLangflow: Authenticated Users Can Read, Modify, and Delete Any Flow via Missing Ownership Check
CVE-2026-6597Low· 2.7Langflow has an Information Leak through Incomplete API Key Redaction