Patchfirst
CVE-2026-33309 Critical · 10.0 EPSS 13.9%

Langflow has an Arbitrary File Write (RCE) via v2 API

Fix:upgrade langflow to 1.10.1 or later also fixes CVE-2025-3248, CVE-2025-34291, +8 Details ↓

langflow-ai · langflow

Summary

Langflow versions 1.2.0 through 1.8.1 contain an arbitrary file write flaw in the POST /api/v2/files/ endpoint, where the multipart upload filename bypasses the path-parameter guard and the underlying LocalStorageService lacks boundary containment checks. An attacker with network access and low-privilege authenticated credentials, without any user interaction, can write files to arbitrary locations on the host, which can lead to remote code execution.

Official description · CVE.org

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.

Breakdown
74.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Disclosed on 24 Mar 2026. No public exploit code or confirmed exploitation is recorded.

A fix was bypassed or incomplete once over 3 months.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2025-68478Langflow Vulnerable to External Control of File Name or Path19 Dec 2025
  2. bypassed the fixHigh

    Why these are linked:

    • Stated in the CVE textVersions 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.
    This CVECVE-2026-33309Langflow has an Arbitrary File Write (RCE) via v2 API24 Mar 2026

Affected versions and fixes

as published in the CVE record

langflow-ai langflow

Affected: >= 1.2.0, < 1.9.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: langflow.

Upgrade to 1.10.1 or later

Fixes this CVE and 10 other known vulnerabilities in this package (CVE-2025-3248, CVE-2025-34291, +8).

pippip install "langflow>=1.10.1"

First fixed in 1.9.0 for CVE-2026-33309.

Affected versions

If you runUpgrade to
1.2.0 up to 1.9.01.10.1first fix for this CVE: 1.9.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 15 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close