Skip to content

CVE-2026-9138 Langflow is vulnerable to arbitrary file write and arbitrary file deletion due to unvalidated paths in file-processing components

MediumCVSS 6.5 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

IBM Langflow OSS 1.0.0 through 1.11.2 Langflow could allow an authenticated attacker to write arbitrary files to the server due to improper input validation in the SaveToFileComponent. The application constructs local file paths using attacker‑controlled input without sufficient sanitization when handling requests to the /api/v1/run/{flow_id} endpoint. An attacker with low‑privileged authenticated access (such as a valid API key or user session) can supply crafted path values, including absolute paths or path traversal sequences, allowing arbitrary file writes to locations writable by the Langflow process. Successful exploitation may lead to unauthorized file creation or modification, potentially resulting in further compromise depending on the deployment environment.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ibm langflow oss >= 1.0.0, <= 1.11.2 after 1.11.2 Fixed
langflow >= 1.0.0, < 1.11.3 1.11.3 Fixed

Affected products

ProductAffected versionsFixed in
ibm langflow oss >= 1.0.0, <= 1.11.2 No fix listed
langflow >= 1.0.0, < 1.11.3 1.11.3

References