Langflow application
Langflow version 1.8.4, installed via pip, runs internally on port 7860. It contains the vulnerable bulk delete endpoint DELETE /api/v1/knowledge_bases.
Dockerfile:22-23docker-entrypoint.sh:14File viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
The artifact contains a Python script (poc.py) that sends a crafted DELETE request to the vulnerable Langflow Knowledge Bases API endpoint to trigger arbitrary directory deletion via path traversal. The README describes the vulnerability and provides both the script and a curl command to perform the deletion.
No backdoor observed in reviewed code
The supplied evidence consists of a Dockerfile, README.md, and poc.py for a CVE-2026-42048 proof-of-concept. The PoC demonstrates a path traversal vulnerability in Langflow by sending a crafted DELETE request to delete a target directory. No backdoor, trojan, or deceptive behavior was observed. The code performs only the advertised exploit action and contains no concealed payloads, persistence mechanisms, or unrelated remote access.
The primary artifact is poc.py, which is explicitly designed to send a malicious request to the vulnerable endpoint to delete an arbitrary directory. This constitutes exploit code because it exercises the vulnerability to cause the intended harmful effect (directory deletion), not merely detect or report exposure.
poc.py:1-72README.md:2README.md:68-71README.md:23README.md:30README.md:24-28README.md:32poc.py:33-39poc.py:60-69README.md:80-84poc.py:32-42README.md:80-84Dockerfile:18poc.py:9README.md:30This review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.
A single-container Docker lab that runs a vulnerable Langflow 1.8.4 instance behind a custom challenge proxy. The proxy exposes a minimal API to demonstrate CVE-2026-42048, a path traversal vulnerability in the knowledge base bulk delete endpoint.
Dockerfile:1-40README.md:1-216The README explicitly describes the environment as a lab for CVE-2026-42048, provides build/run instructions, and includes a PoC script. The Dockerfile installs a vulnerable Langflow version and sets up a challenge proxy to exercise the vulnerability.
README.md:1-3README.md:55-70Dockerfile:1-40Langflow version 1.8.4, installed via pip, runs internally on port 7860. It contains the vulnerable bulk delete endpoint DELETE /api/v1/knowledge_bases.
Dockerfile:22-23docker-entrypoint.sh:14A Python HTTP server (challenge-proxy.py) that listens on port 9101. It forwards DELETE requests to the internal Langflow API after obtaining an authentication token, and provides /status and /flag.txt endpoints to track lab progress.
Dockerfile:24challenge-proxy.py:1-196Creates the target directory /target/CVE-2026-42048 with a proof file, starts Langflow in the background, and then launches the challenge proxy.
docker-entrypoint.sh:1-21A standalone Python script (poc.py) that sends a crafted DELETE request to the challenge proxy to trigger the path traversal and delete the target directory.
poc.py:1-72Supported by supplied evidence
The lab installs Langflow 1.8.4 (before the fixed version 1.9.0), sets up the vulnerable DELETE /api/v1/knowledge_bases endpoint, and demonstrates path traversal via the kb_names parameter to delete /target/CVE-2026-42048. The README analysis matches the visible code behavior.
Dockerfile:22-23README.md:7-9challenge-proxy.py:130-155poc.py:30-40README.md:55-70README.md:62-64README.md:30-32README.md:57-59README.md:62-64README.md:67-69README.md:75-90README.md:93-95challenge-proxy.py:113-120All visible behavior is confined to the lab container. The proxy only forwards requests to the internal Langflow API, the target directory is created inside the container, and the flag is a local fake flag. No host escape, external connections, persistence, or credential theft is observed.
Dockerfile:1-40challenge-proxy.py:1-196docker-entrypoint.sh:1-21This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.