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
| Release Line | Affected Range | Fixed In |
|---|---|---|
| 1.x | 1.2.0 to before 1.9.0 | 1.9.0 |
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
-
2026-03-18
The Langflow GitHub security advisory was published.
-
2026-03-24
NVD published the CVE-2026-33309 record.
What to do
-
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.
-
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.
-
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.
-
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
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-33309 in Brandefense Atlas
The Atlas record of CVE-2026-33309: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
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
- Arbitrary File Write (RCE) via v2 APILangflow GitHub Security Advisory
- CVE-2026-33309 recordNIST NVD
- Known Exploited Vulnerabilities catalogCISA