Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Langflow v2 File Write Vulnerability (CVE-2026-33309)

CVE-2026-33309 is an authenticated arbitrary file write flaw in Langflow's v2 file API.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-33309
Vendor
Langflow
Affected Product
Langflow v2 file API
Exploitation
Not confirmed
Published
2026-03-18

The Langflow advisory says versions 1.2.0 through 1.8.1 accept an upload filename that can escape the intended storage directory. Writing a file in a sensitive location could lead to remote code execution.The vendor's advisory describes this as a separate route around the earlier CVE-2025-68478 filename fix. Security teams can use a vulnerability intelligence platform as a CVE reference while verifying their installed Langflow version. The broader Langflow security update provides context for other Langflow fixes, but this profile covers the v2 file write flaw.

What it allows

How Does CVE-2026-33309 Bypass the Filename Guard?

The earlier CVE-2025-68478 fix added filename validation at the HTTP layer. The Langflow advisory says that validation covers URL path parameters, while the v2 upload takes its filename from a different part of the request. The v2 route passes that supplied name to local storage without the same guard.

The storage service joins the supplied filename to a directory without checking that the resolved destination stays inside its base directory. An authenticated user can therefore cause a write outside the user's intended file area. The advisory demonstrates the boundary failure in a test deployment outside the intended user directory.

Langflow says an attacker could overwrite sensitive files or place malicious Python components, which could lead to code execution. The attacker needs a valid account with access to the affected upload function. This matters most on self-hosted servers where that function is reachable and the Langflow process can write to sensitive locations.

As a defensive inference, review accounts allowed to upload files and investigate unexpected writes outside Langflow's normal user storage. Correlate suspicious upload activity with host file changes before concluding that this CVE was used. Keep the patch management process focused on the running application version and its actual deployment.

Who is affected

Version Check

Langflow
Release LineAffected RangeFixed In
1.x1.2.0 to before 1.9.01.9.0
Release ranges source

For distribution packages and custom builds, check the supplier’s advisory.

Which CVE-2026-33309 Versions Are Affected?

The Langflow advisory lists the pip package from version 1.2.0 through 1.8.1 as affected. It lists version 1.9.0 and later as patched. NVD expresses the same interval as 1.2.0 inclusive to 1.9.0 exclusive.

Exposure requires an authenticated user who can reach the v2 file upload function. Review self-hosted Langflow instances and any container image or Python environment that runs the affected package. The advisory does not claim that every account has the same access, so confirm the permissions in each deployment.

Do not treat the v1.7.1 filename fix for CVE-2025-68478 as closure for this v2 route. The advisory identifies missing containment in the storage layer as the underlying boundary issue. Upgrade to at least 1.9.0, then verify the running process or image uses that version rather than an older package left behind.

Timeline

  1. 2026-03-18

    The Langflow GitHub security advisory was published.

  2. 2026-03-24

    NVD published the CVE-2026-33309 record.

What to do

  1. Inventory affected instances

    Identify self-hosted Langflow installations and record the package version running in each Python environment or container. Prioritize versions 1.2.0 through 1.8.1 where authenticated users can upload files.

  2. Upgrade Langflow

    Install Langflow 1.9.0 or a later patched version from the vendor. Restrict upload access to trusted accounts until the upgrade is complete.

  3. Verify the running version

    Check the Langflow package version inside the actual running environment after deployment. Confirm it reports 1.9.0 or later, and restart or replace any process still running an affected build.

  4. Review potential file writes

    Inspect host file changes outside normal Langflow user storage and correlate them with authenticated upload activity. This defensive investigation follows from the vendor-described write path.

What Brandefense can do

Frequently Asked Questions

Does CVE-2026-33309 require authentication?

Yes. The Langflow advisory describes an authenticated attacker using the affected v2 file upload function.

What version fixes CVE-2026-33309?

The vendor lists Langflow 1.9.0 and later as patched. Check the version inside the running server or container after upgrading.

Did the earlier filename fix close this flaw?

No. The advisory says the earlier guard covered URL path parameters, while the v2 upload filename reached storage through a different path.

What does the advisory demonstrate?

Its proof of concept shows a test instance writing outside the intended user directory. The vendor describes sensitive-file overwrite and code execution as possible impacts.

Sources

  1. Arbitrary File Write (RCE) via v2 APILangflow GitHub Security Advisory
  2. CVE-2026-33309 recordNIST NVD
  3. Known Exploited Vulnerabilities catalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →