Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langflow
  4. ›
  5. CVE-2026-33309

CVE-2026-33309: Langflow has an Arbitrary File Write (RCE) via v2 API

March 19, 2026 (updated June 6, 2026)

While reviewing the recent patch for CVE-2025-68478 (External Control of File Name in v1.7.1), I discovered that the root architectural issue within LocalStorageService remains 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).

References

  • github.com/advisories/GHSA-g2j9-7rj2-gm6c
  • github.com/langflow-ai/langflow/security/advisories/GHSA-g2j9-7rj2-gm6c
  • github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-79.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-33309

Code Behaviors & Features

Detect and mitigate CVE-2026-33309 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.2.0 before 1.9.0

Fixed versions

  • 1.9.0

Solution

Upgrade to version 1.9.0 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-284: Improper Access Control
  • CWE-73: External Control of File Name or Path
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/langflow/CVE-2026-33309.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:52 +0000.