Skip to main content
← All vulnerabilities
CVE-2026-33309PYSEC-2026-79GHSA-G2J9-7RJ2-GM6C

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • langflow-ai langflow

    From 1.2.0 · fixed in 1.9.0

  • langflowPyPI

    From 1.2.0 · fixed in 1.9.0

References 1

GitHub · langflow-ai/langflow