CVEvulnerability

CVE-2026-33309

9.9 CRITICAL Published 2026-03-24 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-03-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.9 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-284, CWE-73, CWE-94

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.

Affected configurations

• langflow langflow (>= 1.2.0 < 1.9.0)

Related

Weakness · CWE (4)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-284 Improper Access Control weakness
  • CWE-73 External Control of File Name or Path weakness
  • CWE-94 Improper Control of Generation of Code weakness

References