Exploited vulnerability

Langflow code execution flaw (CVE-2025-3248)

CVE-2025-3248

CVE-2025-3248 is a flaw in Langflow, an open-source tool for building AI workflows.

  • On CISA KEV
CVE ID
CVE-2025-3248
CISA KEV
Listed
Affected product
Langflow (open-source AI workflow builder)
Exploited
Yes
Published
April 2025

In short

CVE-2025-3248 is a flaw in Langflow, an open-source tool for building AI workflows. One web endpoint accepts code from anyone without a login and runs it, so an attacker can take over the server. CISA lists it as exploited and flags known ransomware campaign use. Versions before 1.3.0 are affected.

Profile MapVulnerability
  1. CVECVE-2025-3248
  2. ProductLangflow Langflow (open-source AI workflow builder)
  3. CISA KEVListedKnown Exploited Vulnerabilities
  4. ExploitedYesin real attacks
  5. Fix Steps4actions listedUpgrade Langflow · Remove internet exposure

What it allows

A remote attacker with no account can send crafted HTTP requests to the /api/v1/validate/code endpoint and make the server run arbitrary code. NVD scores it 9.8 on CVSS v3.1 (the same score comes from the VulnCheck record). AI workflow servers often hold API keys and data connections, so a takeover can expose those secrets.

Who is affected

Per the vendor's GitHub advisory and NVD, Langflow versions before 1.3.0. The advisory also lists the langflow-base package before 0.3.0. The fixed release is 1.3.0 for the langflow package. Any Langflow server reachable from the internet or from untrusted networks on an old version is exposed.

NVD published the record on 7 April 2025. CISA added CVE-2025-3248 to its Known Exploited Vulnerabilities (KEV) catalog on 5 May 2025 and flags known use in ransomware campaigns. The vendor's GitHub security advisory carries a publication date of 17 June 2025.

The sources opened here give no first-exploitation date and do not name which actors used the flaw, so no actor is attributed on this page. Treat any Langflow server that was exposed on a version before 1.3.0 as possibly compromised.

What to do

  1. Upgrade Langflow

    Move to 1.3.0 or later, the first patched release named in the vendor advisory. Also update langflow-base to 0.3.0 or later where it is installed separately.

  2. Remove internet exposure

    Put Langflow behind a VPN or an authenticating proxy. It should not accept anonymous traffic from the internet.

  3. Rotate secrets

    If an old version was reachable, replace the API keys, database passwords and tokens stored in or reachable from the server.

  4. Detect and hunt

    Search web logs for requests to /api/v1/validate/code from unknown addresses, and check the host for new processes started by the Langflow service, new accounts, scheduled tasks and unexpected outbound connections.

Questions

What is CVE-2025-3248?

CVE-2025-3248 is a missing-authentication flaw in Langflow, an open-source AI workflow builder. A remote attacker with no account can send crafted requests to the /api/v1/validate/code endpoint and make the server run arbitrary code. NVD scores it 9.8.

Which Langflow versions are affected by CVE-2025-3248?

Langflow versions before 1.3.0 are affected, and the advisory also lists langflow-base before 0.3.0. The fixed release is 1.3.0 for the langflow package. Any old version reachable from the internet or untrusted networks is exposed.

Is CVE-2025-3248 being exploited?

Yes. CISA added CVE-2025-3248 to its Known Exploited Vulnerabilities catalog on 5 May 2025 and flags known use in ransomware campaigns. The sources used on this page do not name which actors exploited it.

How do I protect a Langflow server from CVE-2025-3248?

Upgrade to Langflow 1.3.0 or later and keep the server behind a VPN or an authenticating proxy. If an old version was reachable, rotate the API keys, database passwords and tokens stored on it, and search logs for requests to /api/v1/validate/code.

In our research

  1. Agentic Ransomware: What Happens When Malware Doesn’t Need a Human Operator to Decide Who to Hit Next? September 2026

Sources

  1. Langflow Unauth RCE (GHSA-rvqx-wpfh-mfx7) Langflow (GitHub Security Advisory)
  2. CVE-2025-3248 record NIST NVD
  3. Known Exploited Vulnerabilities catalog CISA