CVE-2026-5027
Langflow - Path Traversal Arbitrary File Write via upload_user_file
No known exploitation. EPSS puts it in the 92nd percentile. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether your Langflow instance is reachable from the public internet (not just internal networks) and whether POST /api/v2/files is accessible externally.
- Restrict access immediately (IP allowlist/VPN only) so only trusted users or networks can reach Langflow.
- Review server access logs around the time of any suspicious activity for unusual POST requests to /api/v2/files and abnormal multipart upload patterns.
- Ensure you have a plan to apply the official Langflow fix as soon as it is released (no fixed version is available yet based on current information).
- If you cannot quickly restrict external access, consider temporarily shutting down the exposed Langflow service until the patch is available.
What it is
From the CVE record
The 'POST /api/v2/files' endpoint does not sanitize the 'filename' parameter from the multipart form data, allowing an attacker to write files to arbitrary locations on the filesystem using path traversal sequences ('../').
In plain language
Written by AI from the recordCVE-2026-5027 is a Langflow flaw that lets an internet attacker write files to arbitrary places on your server, and it is actively being exploited—so if you run Langflow that’s exposed to the internet, you should treat this as urgent.
CVE-2026-5027 is a path traversal/arbitrary file write in Langflow’s file upload handling (“upload_user_file” / POST /api/v2/files) caused by missing filename sanitization; attackers can send network requests to traverse directories and write files, with reported unauthenticated access that can lead to session token acquisition and remote code execution (RCE).
If you're affected
- Server compromise
- Malware/RCE risk
- Customer data exposure
- Service disruption
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
4.8% chance of exploitation activity in the next 30 days, which ranks it in the 92nd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising.
Lifecycle
12 events over 181 days, from the signal feeds we watch.
- EPSS band changemoderate → lowepss band change
- Patch availablerecord updated
- EPSS band change0 → moderateepss band change
- OpenVAS check added
- Nuclei check added
- Record updated
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 8.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
In the news
All news- Critical Langflow flaw exploited to steal OpenAI and AWS keys
- Hackers Start Exploiting Critical Langflow Vulnerability
- Attackers Exploit Critical Langflow and Rails Flaws in Credential-Probing and C2 Activity
- Hackers Exploit Windmill Flaw to Read Arbitrary Server Files Without Authentication
- New NadMesh Botnet Hunts Exposed AI Services for Cloud Keys and Kubernetes Tokens
- CISA orders feds to prioritize patching Langflow auth bypass flaw
- CISA Adds 4 Actively Exploited Adobe, Joomla, and Langflow Flaws to KEV
- Langflow RCE Exploited to Deploy Monero Miner on Exposed AI App Endpoints
- ⚡ Weekly Recap: Chrome 0-Day, UniFi Exploits, macOS Stealers, VPN Flaw and More
- Hackers Exploit Langflow Vulnerability for Remote Code Execution
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Langflow, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI