PoC Monitor
← All CVEs
CVE-2025-3248published 7 Apr 2025 14:22 UTCData: JSON · API

Langflow

Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code

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.

First public PoC 2.2 daysafter publication · 9 Apr 2025 · nuclei template
Public PoCs3531 on GitHub · 4 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-306
CISA KEV 5 May 202528 days after publication · ransomware use known

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

langflow-ai langflow
  • < 1.3.0

Fixed in 1.3.0

Mitigation

Upgrade langflow to 1.3.0 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28CVE published7 Apr 2025 · t = 0First public PoC9 Apr 2025 · t+2.2dAdded to CISA KEV5 May 2025 · t+28d

First public PoC 2.2 days after publication; added to CISA KEV 28 days after publication. First PoC: nuclei template: Langflow AI - Unauthenticated Remote Code Execution (nuclei template, 9 Apr 2025).

PoC repositories

Found on GitHub.

31 PoCs · 5 pending · 1 informational · 2 suspicious or fake

PoCs 31
RepositoryCreatedFound by usStarsAssessment
xuemian168/CVE-2025-3248 10 Apr 2025 +2.9 d backfilled 12 PoC
PuddinCat/CVE-2025-3248-POC 10 Apr 2025 +3 d backfilled 3 PoC
verylazytech/CVE-2025-3248 16 Apr 2025 +9 d backfilled 10 PoC
GraySignal/CVE-2025-3248 5 May 2025 +28 d backfilled 1 PoC
Praison001/CVE-2025-3248 5 May 2025 +28 d backfilled 1 PoC
Vip3rLi0n/CVE-2025-3248 27 May 2025 +50 d backfilled 1 PoC
tiemio/RCE-CVE-2025-3248 31 May 2025 +54 d backfilled 1 PoC
ynsmroztas/CVE-2025-3248-Langflow-RCE 17 Jun 2025 +71 d backfilled 18 PoC
imbas007/CVE-2025-3248 18 Jun 2025 +72 d backfilled 2 PoC
0xgh057r3c0n/CVE-2025-3248 18 Jun 2025 +72 d backfilled 0 PoC
zapstiko/CVE-2025-3248 19 Jun 2025 +73 d backfilled 2 PoC
dennisec/Mass-CVE-2025-3248 23 Jun 2025 +77 d backfilled 3 PoC
ill-deed/Langflow-CVE-2025-3248-Multi-target 25 Jun 2025 +79 d backfilled 0 PoC
MatDupas/Custom-Nmap-Scripts 28 Jun 2025 +82 d backfilled 0 PoC
r0otk3r/CVE-2025-3248 6 Jul 2025 +89 d backfilled 1 PoC
J4c0b-1337x007/ethical-exploit-playground 10 Aug 2025 +125 d backfilled 0 PoC
min8282/CVE-2025-3248 3 Sep 2025 +148 d backfilled 0 PoC
EQSTLab/CVE-2025-3248 15 Sep 2025 +160 d backfilled 3 PoC
wand3rlust/CVE-2025-3248 17 Sep 2025 +163 d backfilled 0 PoC
Kiraly07/Demo_CVE-2025-3248 1 Oct 2025 +177 d backfilled 2 PoC
bambooqj/cve-2025-3248 24 Oct 2025 +200 d backfilled 1 PoC
drackyjr/cve-2025-3248-exploit 20 Nov 2025 +226 d backfilled 3 PoC
b0ySie7e/CVE-2025-3248-POC 10 Dec 2025 +247 d backfilled 1 PoC
12-test-12/CVE-2025-3248 16 Mar 2026 +343 d backfilled 0 PoC
Hann1bl3L3ct3r/BishengBang 1 Jun 2026 +1.2 y backfilled 0 PoC
paniby/kr-vulhub 10 Jul 2026 +1.3 y backfilled 0 PoC via PoC Index
preemware/langflow-exploit 9 Aug 2026 +1.3 y backfilled 1 PoC
hideki233/CVE-2025-3248-Langflow-RCE 28 Aug 2026 +1.4 y backfilled 4 PoC
LeotheGGman/Langflow-RCE-CVE-2025-3248 5 Sep 2026 +1.4 y backfilled 0 PoC
zoly-zoly/CVE-2025-3248 9 Sep 2026 +1.4 y backfilled 2 PoC
cpwjdgh/CVE-2025-3248-CTF-Lab 18 Oct 2026 +1.5 y 14 Nov 2026 0 PoC
Pending 5
RepositoryCreatedStarsAssessment
dennisec/CVE-2025-3248 23 Jun 2025 +77 d 0 Pending · repository unavailable (HTTP 404)
nebari-playground/langflow-cve-2025-3248 20 Mar 2026 +347 d 0 Pending · repository unavailable (HTTP 404)
Atomics-hub/exposecheck 14 Jul 2026 +1.3 y 0 Pending
B1ack4sh/Blackash-CVE-2025-3248 unknown 0 Pending · repository unavailable (HTTP 404)
issamjr/CVE-2025-3248-Scanner unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
vigilante-1337/CVE-2025-3248 13 May 2025 +36 d 2 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 2
RepositoryCreatedStarsAssessment
0-d3y/langflow-rce-exploit 23 Jun 2025 +76 d 7 Fake
adolfcg/mixtli25 31 Jul 2025 +115 d 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 31 PoC repos

POST /api/v1/validate/code

Key headers
Accept: application/json Accept: application/json, text/plain, */* Accept-Language: ko-KR,ko;q=0.9 Sec-Ch-Ua: "Not-A.Brand";v="24", "Chromium";v="146" Sec-Ch-Ua-Platform: "macOS" Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-Fetch-Site: same-origin
Body markers
"code" "code":""" "code":"__import__('os').system('echo VULNERABLE')" "code":"@exec("raise Exception(__import__('subprocess').check_output(['id']))") def foo(): pass" "code":"@exec('raise Exception(__import__("subprocess").check_output(["cat", "/etc/passwd"]))') def foo(): pass" in application/json
Ports
7860, 8080, 10007
PoC User-Agent
Mozilla/5.0 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3
Seen in
12 repos: 0xgh057r3c0n/CVE-2025-3248, 12-test-12/CVE-2025-3248, EQSTLab/CVE-2025-3248, LeotheGGman/Langflow-RCE-CVE-2025-3248, PuddinCat/CVE-2025-3248-POC, cpwjdgh/CVE-2025-3248-CTF-Lab, drackyjr/cve-2025-3248-exploit, hideki233/CVE-2025-3248-Langflow-RCE, min8282/CVE-2025-3248, paniby/kr-vulhub, r0otk3r/CVE-2025-3248, tiemio/RCE-CVE-2025-3248
Evidence
0xgh057r3c0n/CVE-2025-3248/CVE-2025-3248.py:54 12-test-12/CVE-2025-3248/CVE-2025-3248.py:28 EQSTLab/CVE-2025-3248/CVE-2025-3248.py:84 LeotheGGman/Langflow-RCE-CVE-2025-3248/modules/scanner.py:15 PuddinCat/CVE-2025-3248-POC/patch.py:44 PuddinCat/CVE-2025-3248-POC/poc.py:38

GET /search/all

Query
email= key= qbase64= size= page= fields=host,ip,port,protocol fields=host,ip,port,country
Seen in
1 repo: xuemian168/CVE-2025-3248
Evidence
xuemian168/CVE-2025-3248/main.py:190 xuemian168/CVE-2025-3248/src/scanner/fofa.py:27

POST /api/v1/login

Body markers
username= password= in application/x-www-form-urlencoded
Ports
7860, 8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3
Seen in
1 repo: tiemio/RCE-CVE-2025-3248
Evidence
tiemio/RCE-CVE-2025-3248/exploit.py:59

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/v1/validate/code
(?i)^/api/v1/validate/code(?:[?#].*)?$
GET /search/all
(?i)^/search/all\?(?:.*&)?email=.*key=.*qbase64=.*size=.*page=.*fields=host,ip,port,protocol.*fields=host,ip,port,country
POST /api/v1/login
(?i)^/api/v1/login(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/validate/code
alert http any any -> $HOME_NET [7860,8080,10007] (msg:"GG PoC-Monitor CVE-2025-3248 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/validate/code"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Accept: application/json, text/plain, */*"; nocase; http.header; content:"Accept-Language: ko-KR,ko|3b|q=0.9"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not-A.Brand|22||3b|v=|22|24|22|, |22|Chromium|22||3b|v=|22|146|22|"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|macOS|22|"; nocase; http.header; content:"Sec-Fetch-Dest: empty"; nocase; http.header; content:"Sec-Fetch-Mode: cors"; nocase; http.header; content:"Sec-Fetch-Site: same-origin"; nocase; http.request_body; content:"|22|code|22|"; http.request_body; content:"|22|code|22|:|22||22||22|"; http.request_body; content:"|22|code|22|:|22|__import__('os').system('echo VULNERABLE')|22|"; http.request_body; content:"|22|code|22|:|22|@exec(|22|raise Exception(__import__('subprocess').check_output(['id']))|22|)
def foo():
  pass|22|"; http.request_body; content:"|22|code|22|:|22|@exec('raise Exception(__import__(|22|subprocess|22|).check_output([|22|cat|22|, |22|/etc/passwd|22|]))')
def foo():
  pass|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-3248; classtype:web-application-attack; sid:9270297; rev:1;)
GET /search/all
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-3248 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/search/all"; http.uri; content:"email="; http.uri; content:"key="; http.uri; content:"qbase64="; http.uri; content:"size="; http.uri; content:"page="; http.uri; content:"fields=host,ip,port,protocol"; http.uri; content:"fields=host,ip,port,country"; reference:url,poc.griffinguard.io/cve/CVE-2025-3248; classtype:web-application-attack; sid:9483824; rev:1;)
POST /api/v1/login
alert http any any -> $HOME_NET [7860,8080] (msg:"GG PoC-Monitor CVE-2025-3248 langflow-ai langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/login"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2025-3248; classtype:web-application-attack; sid:9161666; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/v1/validate/code
title: langflow-ai langflow exploit attempt (CVE-2025-3248)
id: gg-pocmon-cve-2025-3248-9270297
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-3248. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-3248
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/validate/code'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.3248
GET /search/all
title: langflow-ai langflow exploit attempt (CVE-2025-3248)
id: gg-pocmon-cve-2025-3248-9483824
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-3248. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-3248
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/search/all'
    cs-uri-query|contains|all:
      - 'email='
      - 'key='
      - 'qbase64='
      - 'size='
      - 'page='
      - 'fields=host,ip,port,protocol'
      - 'fields=host,ip,port,country'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.3248
POST /api/v1/login
title: langflow-ai langflow exploit attempt (CVE-2025-3248)
id: gg-pocmon-cve-2025-3248-9161666
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-3248. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-3248
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v1/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.3248