Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Langflow Config Security Audit

    by CashonlyTian

    1

    Scores 10 checks 0–100 with grade + score-card PNG.

    $7.20

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Langflow Config Security Audit

    Langflow Config Security Audit

    Example session with this skill installed

    I have a Langflow install in reference/demo-project. Run a security audit for project 'Acme Langflow Demo' and give me the report. The accent color should be #2563EB.

    • Read your context and instructions
    • Compiled the langflow config security
    • Generated the document

    I have completed the security audit of the Langflow installation files in reference/demo-project.

    Langflow Security Audit: Acme Langflow Demo

    CheckScoreFindingsStatus
    Overall Grade5/100 (Grade F)42 findingsCRITICAL RISK
    Patched Version3/107Version 1.12.8 vulnerable to CVE-2026-93680
    Auto-Login & Auth0/104LANGFLOW_AUTO_LOGIN is ON
    Literal Secrets0/104Literal OpenAI key found in flow JSON
    Custom Components & Code Exec0/103Custom component with inline Python code
    MCP Server Safety0/103stdio server runs a shell command
    Public Flows & Sharing2/102Public flow with unreviewed sharing
    Network Exposure0/104Port 7860 bound to 0.0.0.0
    Storage & Database0/103LANGFLOW_DATABASE_URL embeds literal credentials
    Container Hardening0/109Running as root with Docker socket mounted
    File Hygiene & Backups0/103.env is world-readable, no backup present

    Top 3 Priority Fixes

    1. Immediate Upgrade: Your version (1.12.8) is vulnerable to multiple 9.8 CVSS RCEs. Update to 1.13.4 or later.

    Disable Auto-Login: Set LANGFLOW_AUTO_LOGIN=false in your .env. Currently, any visitor gains full superuser access.
    3.

    Remove Docker Socket: Remove /var/run/docker.sock from the volumes section of your docker-compose.yml to prevent container escape.

    Files Generated:

    • Visual Scorecard: scan-2026-11-30.png
    • Detailed Audit Report: scan-report.md

    Clean demo: the clean install (reference/demo-project-clean, version 1.13.4) scores

    100/100, grade A, risk LOW, 0 findings.

    Next steps

    • Apply the version upgrade to 1.13.4 immediately.
    • Move the literal API keys from flows/main_chat.json into environment variables.
    • Re-run the audit to confirm the new security grade.

    scan-2026-11-30.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Langflow Config Security Audit

    Audit a self-hosted Langflow install BEFORE it goes live — auto-login superuser bypass (CVE-2026-93680, 9.8), MCP RCE (CVE-2026-110186, 9.8), validate/code RCE (CVE-2025-3248, KEV), leaked keys, public flows, exposed 7860, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Audit a self-hosted Langflow install directory (a version.txt, a .env, a docker-compose.yml, a docker-compose.override.yaml, a flows/*.json export, a mcp-servers.txt, a sharing.txt, a backups.txt, a reverse-proxy.txt, a setup.txt, a firewall.txt and a volumes/ data directory) BEFORE it goes live — the version against the verified November 2026 flaw table (CVE-2026-93680 unauthenticated auto-login superuser bypass, CVSS 9.8; CVE-2026-110186 unauthenticated RCE through the MCP endpoint /api/v1/agentic/mcp, CVSS 9.8; CVE-2026-110193 low-privileged RCE via Agentic Assistant code generation, CVSS 8.8; CVE-2026-110192 authenticated API-key disclosure, CVSS 6.5; CVE-2026-104339 OS command injection, CVSS 9.8; CVE-2026-104317 deserialization RCE, CVSS 9.8; CVE-2026-18894 stored Python component code in a public workflow, CVSS 9.8; CVE-2025-3248 unauthenticated RCE via POST /api/v1/validate/code, CVSS 9.8, CISA KEV; CVE-2026-33017 unauthenticated RCE via the public flow build endpoint; CVE-2026-105697 MCP stdio command injection, CVSS 9.9; CVE-2026-105698 cross-user flow access, medium; CVE-2026-6596 unauthenticated file-upload DoS, medium; CVE-2026-34046 missing flow ownership check, high; CVE-2026-21445 missing authentication on critical endpoints, high; CVE-2025-57760 CLI superuser privilege escalation, high; CVE-2026-55423 logout does not clear the session, medium; CVE-2025-68477 API Request component arbitrary HTTP, medium; GHSA-J8F7-X8JM-WMM4 SSRF in URL-taking components, high; CVE-2026-10561 Python isolation + authentication bypass, CVSS 10.0 — all fixed in 1.13.4), LANGFLOW_AUTO_LOGIN on (before 1.13.0 it defaults to on: GET /api/v1/auto_login returns a full superuser session with no login), LANGFLOW_NEW_USER_IS_ACTIVE on, the shipped default superuser password "langflow", a missing / weak LANGFLOW_SECRET_KEY, literal secrets in .env / compose / flows/*.json, custom components and code execution open to every user, an MCP stdio server running a shell command or env-var injection, a remote MCP server over plain http, a public flow (stored-component RCE surface), port 7860 published on 0.0.0.0 with plain HTTP and no TLS reverse proxy, Postgres / Redis published on 0.0.0.0, a LANGFLOW_DATABASE_URL with embedded credentials, a default SQLite file that is world-readable, a :latest image, a container running as root / privileged / with the Docker socket mounted, or a world-readable .env with no backup. Scores 10 checks 0-100 with grade, risk level and a shareable 1024x1024 score-card PNG (English + Chinese). The scan is local only: config files are parsed as text, flow JSON files are read as text and never imported, and secret values are never printed in full anywhere — findings name the key and the kind only.

    The 10 checks (10 points each)

    1. patched_version — the installed version is fully patched: version.txt (or a version line in .env, or the compose image tag as a fallback) is 1.13.4 or later. Fully patched scores 10, 1.13.0–1.13.3 scores 8, 1.9.0–1.12.10 scores 3, 1.3.0–1.8.x scores 1, older / unpatched scores 0, a missing version scores 5 (cannot verify — partial). Note: 1.12.9 and 1.12.10 are backports that do NOT fix the October 2026 9.8s — they score 3, not 8. One finding per CVE the version is exposed to.
    2. auto_login_and_auth — LANGFLOW_AUTO_LOGIN is off (before 1.13.0 it defaults to on: GET /api/v1/auto_login returns a full superuser session with no login, CVE-2026-93680, CVSS 9.8); LANGFLOW_NEW_USER_IS_ACTIVE is off; LANGFLOW_SUPERUSER is set when auto-login is on; LANGFLOW_SUPERUSER_PASSWORD is not the shipped default "langflow" (critical), not a weak value and not short (under 12 characters); LANGFLOW_SECRET_KEY is set, not a weak value and not short (under 32 characters). A ${VAR} reference passes for either value. Score 10 minus weighted findings, floor 0.
    3. literal_secrets — no literal secrets in .env / docker-compose.yml / flows/*.json: model provider API keys (OpenAI, Anthropic, ...), the database password, S3 / MinIO keys and any other secret key. A placeholder / weak value (changeme, password, secret, under 8 characters for a key) is medium; any other literal value is high. A base64-looking value is still a literal secret. ${VAR} references are NOT flagged; secret values are never printed in full anywhere. LANGFLOW_SUPERUSER_PASSWORD and LANGFLOW_SECRET_KEY are check 2's job, so they are not counted here. LANGFLOW_DATABASE_URL is excluded from the embedded-credentials URL rule (check 8 judges it). Score 10 minus weighted findings, floor 0.
    4. custom_components_and_code_exec — custom components and code execution are locked down: LANGFLOW_ALLOW_CUSTOM_COMPONENTS is not true (1.13.2 makes custom-code authoring admin-only by default, so on older versions an open allow flag means every authenticated user can run code); no flow in flows/*.json contains a custom component node with inline Python code (stored component code runs under the flow owner's runtime context, CVE-2026-18894); no custom component .py file sits under components/ (it runs as Python inside Langflow). Score 10 minus weighted findings, floor 0.
    5. mcp_server_safety — MCP servers are safe: no stdio server in mcp-servers.txt runs an arbitrary shell command (bash / sh / -c / -e inline code — CVE-2026-105697, CVSS 9.9) — high; no stdio server env value carries command substitution $(...) (env-var injection, CVE-2026-12940 context) — high; no remote MCP server is reached over plain http:// — high. A plain npx -y <package> or python3 -m <server> stdio server passes. One finding per server line at most. Score 10 minus weighted findings, floor 0.
    6. public_flows_and_sharing — flows are not public: no flow in flows/*.json is marked public ("public": true / "is_public": true / "access_type": "public") — high each; a public flow with no sharing.txt note recording that the sharing was reviewed is medium. A flow with an endpoint_name is API-accessible by design — it is the public flag, not the endpoint name, that this check judges. Score 10 minus weighted findings, floor 0.
    7. network_exposure — no service in docker-compose publishes port 7860 (or LANGFLOW_PORT), 80 or 443 on 0.0.0.0 (a bare 7860:7860 entry binds all interfaces too) — each such publication is high; Postgres (5432) and Redis (6379) are not published on 0.0.0.0 — high each; no TLS reverse proxy documented (no reverse-proxy.txt note) is medium. The proxy service in compose is the front door, not evidence of TLS. Docker-published ports skip ufw. Score 10 minus weighted findings, floor 0.
    8. storage_and_database — LANGFLOW_DATABASE_URL does not embed literal credentials (use a ${VAR} reference for the password) — high; the LANGFLOW_DATABASE_URL password matches POSTGRES_PASSWORD (a literal mismatch is high — only judged when both are literal values); a default SQLite database file (langflow.db) readable by group / other users is high; and a backup exists (no backups.txt note, no backups/ directory, no *.bak marker is medium when a volumes/ or data/ directory exists — the backup finding is also check 10's job). Score 10 minus weighted findings, floor 0.
    9. container_hardening — no image tagged :latest / :main / untagged is medium; no container running as root (no user:) is medium; privileged: true is critical and a dangerous cap_add (SYS_ADMIN / NET_ADMIN / ALL) is high; a Docker socket mount is high; a host / or /etc mount is high; no healthcheck, no restart policy and no resource limits are low each. Findings are aggregated per kind across services (one finding per kind, naming the services). Score 10 minus weighted findings, floor 0.
    10. file_hygiene_and_backups — .env / a TLS key with any group / other permission bit (mode & 0o077, i.e. anything looser than 0600) is high each; a volumes/ or data/ directory that is world-writable is medium; no backup present (no backups.txt note, no backups/ directory, no *.bak marker) is medium when a volumes/ or data/ directory exists; a missing version.txt is low — and only fires when check 1 also scored partial, so the same gap is not double-penalised. Score 10 minus weighted findings, floor 0.

    How to run

    # 1. Copy the whole install directory as-is (keep the file names
    #    and the file modes exactly as deployed): version.txt,
    #    .env, docker-compose.yml, docker-compose.override.yaml,
    #    flows/*.json, mcp-servers.txt, sharing.txt, backups.txt,
    #    reverse-proxy.txt, setup.txt, firewall.txt, volumes/.
    # 2. Write the meta JSON (see reference/example_input.json):
    #    {"date": "2026-11-30", "project": "Acme Langflow Demo",
    #     "language": "en", "accent": "#2563EB",
    #     "brand": "Langflow Config Security Audit",
    #     "path": "reference/demo-project"}
    # 3. Run the scan:
    python3 scripts/run.py --input <meta.json> --path <dir> --output <outdir>
    # 4. Verify the demo card and both demo projects:
    python3 scripts/verify.py --input reference/demo-en.json --image out/demo-en/scan-2026-11-30.png
    

    Demo results (all run, not invented)

    • Unsafe demo (reference/demo-project, "Acme Langflow Demo", version 1.12.8): 5/100, grade F, risk CRITICAL, 42 findings — 7 patched version, 4 auto-login and auth, 4 literal secrets, 3 custom components and code execution, 3 MCP server safety, 2 public flows and sharing, 4 network exposure, 3 storage and database, 9 container hardening, 3 file hygiene and backups. Per-check scores: 3, 0, 0, 0, 0, 2, 0, 0, 0, 0 — all 10 checks fire.
    • Clean demo (reference/demo-project-clean, version 1.13.4): 100/100, grade A, risk LOW, 0 findings.
    • Empty-directory sanity: 100/100, all checks n/a.
    • scripts/verify.py PASS (incl. the version ladder: 0.9.0 / 1.0.0 score 0, 1.3.0 / 1.8.0 score 1, 1.9.0 / 1.12.8 / 1.12.9 / 1.12.10 score 3, 1.13.0 / 1.13.3 score 8, 1.13.4 / 1.14.0 score 10, missing version scores 5; exposed-flaw counts 1.12.8 → 7, 1.13.0 → 0, 1.9.0 → 8, 1.3.0 → 11, 1.0.0 → 12, 0.9.0 → 10, 1.13.4 → 0; no demo secret value in any finding or report; .env byte-identical after a scan; no scanner script executes code; no curl|sh pipe in any fixture .py file).
    • No build corrections were needed beyond one scanner typo (see reference/notes.md): the first full run scored exactly as designed (unsafe 5/100 with the per-check counts 7/4/4/3/3/2/4/3/9/3, clean 100/100, empty directory 100/100 all n/a), so no verify.py expectation had to be corrected after the fact.

    Files

    • SKILL.md — the skill (inputs, the 10 checks, steps, safety rules).
    • scripts/scan.py — the scanner (pure Python, no network).
    • scripts/render.py — the 1024x1024 score-card renderer (Pillow).
    • scripts/run.py — the CLI (--input, --path, --output).
    • scripts/verify.py — the verifier (card layout, demo scores, secret masking, empty-directory sanity, read-only scan check, no-code-execution AST check, edge cases).
    • scripts/make_logo.py — makes logo.png (512x512).
    • scripts/make_demo.py — builds the two demo install directories (build-time only, excluded from the zip).
    • reference/patterns.md — what each check looks for.
    • reference/notes.md — verified facts, corrections, known limits.
    • reference/demo-project/ — deliberately unsafe install directory (all values fake, all hosts .test).
    • reference/demo-project-clean/ — clean install directory (scores 100/100, no false positives).

    Summary for Agensi

    Summary (292/300 chars — use this exact text for the Agensi summary field):

    Audit a self-hosted Langflow install BEFORE it goes live — auto-login superuser bypass (CVE-2026-93680, 9.8), MCP RCE (CVE-2026-110186, 9.8), validate/code RCE (CVE-2025-3248, KEV), leaked keys, public flows, exposed 7860, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Full description (verbatim SKILL.md frontmatter description — use this exact text for the Agensi full description field):

    Audit a self-hosted Langflow install BEFORE it goes live — auto-login superuser bypass (CVE-2026-93680, 9.8), MCP RCE (CVE-2026-110186, 9.8), validate/code RCE (CVE-2025-3248, KEV), leaked keys, public flows, exposed 7860, Docker hardening. Scores 10 checks 0–100 with grade + score-card PNG.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Scans local config files only; does not probe running network services. Does not support Dify, n8n, or general Dockerfiles outside the Langflow context. Requires specific file names to trigger.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Python 3Pillow@fakedemo/mcp-serverNode.js@acme/mcp-serverpasses

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    The skill scans for critical vulnerabilities like the CVE-2026-93680 superuser bypass, LANGFLOW_AUTO_LOGIN misconfigurations, literal API key leaks in flow JSONs, and insecure Docker socket mounts.

    No, the tool performs a static analysis of local configuration files and flow exports; it does not require an active network connection or perform intrusive penetration testing on a live server.

    You will receive the specialized auditing agent, a local-only Python scanner script, and templates for the visual 0-100 score-card and detailed Markdown security reports.

    The audit database is current as of November 2026, ensuring protection against the most recent known flaws like unauthenticated RCE (CVE-2025-3248) and modern MCP server injection risks.

    Simply point the agent to your Langflow root directory containing your .env, docker-compose.yml, and flows folder; it will parse these files locally without executing any code.

    Yes, this skill is designed for use by developers and consultants who need to generate repeatable, professional security compliance reports for client hand-offs or production readiness reviews.

    New in LLM Ops