Skip to main content

Langflow CVE-2026-55447

| EUVDEUVD-2026-38513 CRITICAL
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-06-19 https://github.com/langflow-ai/langflow GHSA-ccv6-r384-xp75
9.6
CVSS 3.1 · Vendor: https://github.com/langflow-ai/langflow
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed RAG ingestion flow
  2. Delivery
    Craft TAR with absolute-path symlink to secret_key
  3. Exploit
    Upload archive to Read File component
  4. Install
    Query chatbot/vector store to retrieve leaked secret
  5. C2
    Forge admin JWT with stolen signing key
  6. Execute
    Create flow with Python Interpreter node
  7. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Requires that the target Langflow deployment contains at least one flow using a BaseFileComponent-derived node (Read File / Docling / Docling Serve / NVIDIA Retriever Extraction / Video File / Unstructured API) and that the attacker can submit a TAR archive into that flow's file input - typically a RAG ingestion pipeline that accepts user-controlled documents. The attacker must also be able to observe the ingested content (e.g. by querying the downstream vector store or a chatbot that reads from it). The full RCE chain additionally requires that Langflow's secret_key file be readable by the Langflow process (default) and that JWT-authenticated endpoints including flow creation be reachable from the attacker's network position. Limiting factors: a Langflow instance with no BaseFileComponent flows exposed to untrusted users, or one where the secret_key is mounted outside the process's read scope, is not exploitable end-to-end even though arbitrary file read against the Langflow UID remains possible.

Impact

The vendor-supplied CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H (9.6 Critical) is plausible for network-exposed Langflow instances offering public document upload, but PR:N and UI:R are deployment-dependent - many Langflow installs require authentication to submit flows, in which case real-world PR is L or H. A working PoC (exploit TAR, demo video, and reproducer flow JSON) is published in the GHSA, so weaponization barrier is essentially zero, yet the issue is not in CISA KEV and no EPSS score was provided in the input. Realistic priority is high for any Langflow tenant that exposes RAG ingestion to untrusted users (public chatbots, multi-tenant SaaS); single-user local installs are lower priority because the same user would already have shell access. No conflict between signals, but note the chain to RCE depends on Langflow's JWT secret_key being readable by the Langflow process - true by default but worth verifying in hardened deployments.

Exploit ScenarioDerived

An attacker submits a document to a public Langflow-backed RAG chatbot, but the upload is a TAR archive containing a symlink named e.g. leak whose linkname is /app/data/secret_key. The Read File node extracts the archive, follows the symlink, ingests Langflow's JWT signing secret into the vector store, and the attacker retrieves it by simply asking the chatbot for the document's contents; they then forge an admin JWT and add a Python Interpreter node to obtain RCE - a published PoC (exploit tar and demo video) automates this end-to-end.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Arbitrary file read leading to remote code execution affects Langflow versions prior to 1.9.2 in any flow that uses BaseFileComponent-derived nodes (Read File, Docling, Docling Serve, NVIDIA Retriever Extraction, Video File, Unstructured API). An attacker who can submit a TAR archive containing symlinks - for example through a RAG ingestion pipeline that accepts user documents - causes the server to follow those links and ingest arbitrary host files such as Langflow's JWT secret_key, which can then be used to forge admin tokens and execute Python via the Code Interpreter node. Publicly available exploit code exists (researcher-published PoC archive and demo video); not listed in CISA KEV.

RemediationAI

Vendor-released patch: Langflow 1.9.2 - upgrade via pip install --upgrade langflow>=1.9.2 per the fix delivered in PR https://github.com/langflow-ai/langflow/pull/12945, which makes _safe_extract_tar reject symlink, hardlink, and non-regular TAR members and adds defensive is_symlink() filtering during directory recursion. If upgrading immediately is not possible, remove or disable any flow that exposes a BaseFileComponent-derived node (Read File, Docling, Docling Serve, NVIDIA Retriever Extraction, Video File, Unstructured API) to untrusted upload sources - this breaks RAG ingestion of user documents but eliminates the sink. Additionally, restrict the Langflow process's filesystem permissions (run under an unprivileged user, mount secret_key read-only with chmod 600, and place ingestion staging on a separate non-root mount) so that even if extraction is abused the JWT secret is unreadable; the trade-off is operational complexity around secret rotation. Full advisory: https://github.com/langflow-ai/langflow/security/advisories/GHSA-ccv6-r384-xp75.

Affected VersionsENISA

langflow < 1.9.2

Affected Packages

pypi langflow fix: 1.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Langflow is an open-source visual builder for LangChain-style LLM pipelines (pip package langflow). The flaw lives in src/lfx/src/lfx/base/data/base_file.py in BaseFileComponent._unpack_bundle, which uses Python's tarfile module to extract user-supplied bundles without filtering member types. CWE-61 (UNIX Symbolic Link Following) applies: TAR archives can carry SYMTYPE/LNKTYPE members whose linkname is an absolute or traversal path, and once the link is materialized on disk it is dereferenced by process_files() during downstream ingestion. The fix in PR #12945 hardens _safe_extract_tar to reject issym(), islnk(), and any non-file/non-dir members, and adds a defensive is_symlink() filter in _unpack_and_collect_files.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/langflow-ai/langflow) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-exploitable via file upload to a Langflow flow; attacker typically needs at least low-privilege flow access (PR:L), no user interaction once submitted, and the secret-key leak crosses authority scope enabling full RCE.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (https://github.com/langflow-ai/langflow).

CVSS VectorVendor: https://github.com/langflow-ai/langflow

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Summary

All components based on BaseFileComponent are vulnerable to the following vulnerability:

  1. Docling (DoclingInlineComponent)
  2. Docling Serve (DoclingRemoteComponent)
  3. Read File (FileComponent)
  4. NVIDIA Retriever Extraction (NvidiaIngestComponent)
  5. Video File (VideoFileComponent)
  6. 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:

  1. Upload a file that directs the node to read Langflow's secret_key file containing the JWT token secret.
  2. This would allow the attacker then to simply task the Chatbot for the JWT secret.
  3. Using this secret, the attacker then crafts a JWT token for any user-id, bypassing authentication.
  4. 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:

  1. Create a flow with Read File (or any other affected components), and connect its output to some storage such as Chroma DB.
  2. Create a symlink pointing to any file. For the above exploit, point the symlink to langflow's JWT token file.
  3. Compress this symlink with tar.
  4. Upload it to the Read File component.
  5. 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.docx with 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.

Executive ViewAI

Why It Matters

Langflow versions prior to 1.9.2 contain a critical vulnerability in document processing components that allows attackers to extract sensitive system credentials and execute arbitrary code through document uploads. With publicly available exploit code, organizations using Langflow for RAG or document ingestion face immediate risk of credential theft, administrative compromise, and complete operational takeover.

Business Impact: Severe
Compensating Controls

Apply vendor patch: Langflow 1.9.2 or later.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy