CVE-2026-5027 is a high-severity path traversal vulnerability in Langflow affecting the POST /api/v2/files upload endpoint. The flaw exists because the endpoint does not properly sanitize the filename parameter supplied in multipart form data. By embedding traversal sequences such as ../ in the filename value, an attacker can cause uploaded content to be written to arbitrary locations on the server filesystem instead of the intended upload directory. The issue has been described as enabling arbitrary file write and, depending on where attacker-controlled files can be placed and how the target system is configured, can be leveraged toward remote code execution. Public reporting also indicates the vulnerable endpoint may be reachable without credentials in default deployments because Langflow enables unauthenticated auto-login by default, allowing an attacker to obtain a valid session token with a single unauthenticated request before exploiting the flaw.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
5 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This is a small standalone exploit repository with two files: a brief README and a single Python script, exploit.py, which is the main entry point. The script targets Langflow via CVE-2026-5027 and is designed as an end-to-end exploitation tool rather than a simple detector. It builds a requests session, points at the target upload API under /api/v2/files, and first performs multiple path traversal write tests against Linux and Windows-style filesystem paths to determine whether arbitrary file write is possible. If the target appears vulnerable, the script attempts to deploy a PHP webshell into common webroot locations using traversal-based filenames. The embedded PHP payload is password protected with the hardcoded password 'haji', supports arbitrary command execution through the cmd parameter, supports file upload through field f, and otherwise returns phpinfo(). The script also contains a Python reverse-shell template that would connect back to an operator-controlled host and port and spawn /bin/bash. The truncated tail of the script still clearly shows interactive post-exploitation workflow: after shell deployment it offers privilege-escalation reconnaissance, backdoor user creation, firewall bypass/disable actions, and cleanup/track removal. It finally prints the shell URL, password, and an example command invocation. Overall, this repository is an operational exploit for web-based remote compromise through arbitrary file write/path traversal, followed by webshell-based command execution and persistence-oriented post-exploitation.
Small standalone Python exploit repository for CVE-2026-5027 targeting Langflow <= 1.8.4. Repository contains three files: a README describing the vulnerability and usage, a single executable exploit script (exploit.py), and requirements.txt listing the requests dependency. The exploit is not part of a larger framework. The main capability is arbitrary file write via path traversal in Langflow's multipart upload handling at POST /api/v2/files. The script first obtains an access token either by calling /api/v1/auto_login (default unauthenticated path) or by authenticating to /api/v1/login with provided credentials. It then abuses the filename field in the multipart upload by prepending repeated ../ traversal segments to a chosen remote path, allowing writes outside the intended storage directory. Two operating modes are implemented: (1) proof-of-concept mode writes a timestamped marker file to /tmp/CVE-2026-5027-proof.txt to confirm traversal and arbitrary write; (2) exploitation mode overwrites /etc/crontab with a cron payload that runs /bin/bash and connects back to an attacker-supplied lhost:lport using bash's /dev/tcp feature, yielding root-level remote code execution if cron processes the file. The exploit reports the returned server-side path from the API response and prints a completion summary. Overall, this is a real exploit rather than a detector. It is operational and weaponized enough for direct use against exposed Langflow instances, but payload customization is limited to the supplied reverse-shell host and port.
Repository contains a small exploit set for alleged CVE-2026-5027 affecting Langflow. The main artifact is CVE-2026-5027.py, a standalone Python exploit that first attempts an unauthenticated/auto-login flow against /api/v2/login and /api/v2/auth, then abuses POST /api/v2/files by supplying a traversal filename in multipart upload data. It supports two modes: a safer proof mode that writes a marker file into /tmp, and an RCE mode that writes ../../../etc/crontab with a cron entry executing a bash reverse shell to an attacker-supplied host and port. The repository also includes CVE-2026-5027.yaml, a Nuclei template that targets the same /api/v2/files endpoint and attempts a proof write to ../../../tmp/CVE-2026-5027-nuclei-proof.txt, primarily for scanning/validation. README.md documents the vulnerability, usage, and expected outcomes. Overall, this is an operational web/network exploit for arbitrary file write leading to Linux RCE, with both exploitation and scanning components present.
Repository contains a working Python exploit and a Dockerized lab environment for CVE-2026-5027, a Langflow <= 1.8.4 path traversal/arbitrary file write vulnerability. The main exploit file, CVE-2026-5027.py, performs a two-stage attack: it first obtains a bearer token either from unauthenticated auto-login at /api/v1/auto_login or via credentials at /api/v1/login, then abuses POST /api/v2/files by supplying a multipart filename prefixed with repeated ../ traversal sequences to write attacker-controlled content outside the upload directory. The exploit supports two outcomes: a safe proof mode that writes /tmp/CVE-2026-5027-proof.txt, and an RCE mode that writes a cron file under /etc/cron.d containing a bash reverse shell to an attacker-supplied host and port. The payload path is randomized with timestamp and sanitized host components to avoid filename deduplication. Repository structure is small and purpose-built: one Python exploit, one README, and three lab-support files. The Dockerfile builds an Ubuntu-based vulnerable environment with langflow==1.8.4, cron, and inotify-tools, and enables LANGFLOW_AUTO_LOGIN=True on port 9013. docker-entrypoint.sh starts a watcher and cron before launching Langflow. watch-etc-cron-files.sh monitors /etc for files whose names begin with cron and executes them with /bin/sh, making exploitation in the lab immediate and deterministic. Overall, this is an operational exploit PoC for unauthenticated or weakly authenticated arbitrary file write leading to remote code execution in Langflow deployments, especially those with auto-login enabled and writable sensitive filesystem locations.
Small standalone exploit repository with 2 files: a README describing CVE-2026-5027 and a single Python exploit script, poc.py. The script targets Langflow <= 1.8.4 and abuses path traversal in the multipart filename sent to POST /api/v2/files, allowing arbitrary file write outside the intended upload directory. The exploit first attempts to obtain an access token either through unauthenticated auto-login at /api/v1/auto_login or via credentialed login at /api/v1/login. It then crafts a filename prefixed with repeated ../ sequences and uploads attacker-controlled content to an arbitrary server path. Two modes are implemented: a proof mode that writes /tmp/CVE-2026-5027-proof.txt, and an RCE mode that writes a cron file under /etc/cron.d/ containing a bash reverse shell to an attacker-supplied host and port. The code is operational rather than a simple detector because it performs the full exploitation chain and includes a working payload. The repository is not part of a larger exploit framework.
85 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A previously exploited Langflow flaw mentioned only as background.
A high-severity Langflow path traversal vulnerability that attackers have been actively exploiting to write arbitrary files on exposed servers.
A high-severity path traversal vulnerability in Langflow that allows arbitrary file write and can enable remote code execution; it is being actively exploited in the wild against exposed Langflow instances.
A high-severity path traversal vulnerability in Langflow's file upload functionality that allows arbitrary file write via unsanitized filename input in the POST /api/v2/files endpoint.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.