Skip to content
CriticalVulnerability

GHSA-ccv6-r384-xp75: Langflow: BaseFileComponent-based nodes arbitrary file read with RCE exploit

Published
Record updated
View JSON
Affected
  • langflow < 1.9.2
Fixed in
1.9.2
  • released May 1, 2026, 49 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

All components built on BaseFileComponent in Langflow are vulnerable, including the Read File node, which processes user-controlled files. A crafted tar archive containing a symlink, extracted in _unpack_bundle, lets an attacker read any file by absolute path, such as Langflow's secret_key used to sign JWTs. With that key an attacker can forge tokens for any user and execute code through a Python Interpreter node. Any user ingesting untrusted data with these components is affected, and the code execution risk depends on the scenario.

Mitigation

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 symlink filtering during directory recursion and after extraction. Upgrade to 1.9.2 or later.