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

- Severity: Medium 6.5 (CVSS:3.1, scored by ibm) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2026-09-04T14:27:27.568Z
- Modified: 2026-09-10T21:17:53.760Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: ibm

## 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.

(As written by CVE List.)

## Affected

- IBM Langflow OSS: from 1.0.0 up to 1.11.2
- langflow langflow: from 1.0.0 before 1.11.3

## References

- <https://www.ibm.com/support/pages/node/7285643> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-9138](https://www.cve.org/CVERecord?id=CVE-2026-9138), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-9138](https://nvd.nist.gov/vuln/detail/CVE-2026-9138), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-9138 · Whole record: https://cve.day/CVE-2026-9138.json · Rebuilt by cve.day 2026-11-25T22:59:36.305Z
