Langflow has an Arbitrary File Write (RCE) via v2 API
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| langflow-ai | langflow | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Langflow | Langflow |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-g2j9-7rj2-gm6c | Langflow has an Arbitrary File Write (RCE) via v2 API |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 13.8% (13.752% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langflow
Langflow langflow |
|
| CPEs | cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Langflow
Langflow langflow |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Langflow is a tool for building and deploying AI-powered agents and workflows. Versions 1.2.0 through 1.8.1 have a bypass of the patch for CVE-2025-68478 (External Control of File Name), leading to the root architectural issue within `LocalStorageService` remaining unresolved. Because the underlying storage layer lacks boundary containment checks, the system relies entirely on the HTTP-layer `ValidatedFileName` dependency. This defense-in-depth failure leaves the `POST /api/v2/files/` endpoint vulnerable to Arbitrary File Write. The multipart upload filename bypasses the path-parameter guard, allowing authenticated attackers to write files anywhere on the host system, leading to Remote Code Execution (RCE). Version 1.9.0 contains an updated fix. | |
| Title | Langflow has an Arbitrary File Write (RCE) via v2 API | |
| Weaknesses | CWE-22 CWE-284 CWE-73 CWE-94 |
|
| References |
| |
| Metrics |
cvssV3_1
|