Staging Environment: Content and features may be unstable or change without notice.
Advisory details: pypa / langflow/PYSEC-2025-36
Advisory ID pypa/langflow/PYSEC-2025-36
Aliases CVE-2025-3248
PYSEC-2025-36
Summary 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.
Status Published
Exploitability 2.0
Weighted Severity 8.8
Risk 10.0
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (0)
There are no known CWE.
Data source Exploit-DB
Date added April 18, 2025
Description Langflow 1.3.0 - Remote Code Execution (RCE)
Ransomware campaign use Unknown
Source publication date April 18, 2025
Exploit type remote
Platform multiple
Source update date April 18, 2025
Data source KEV
Date added May 5, 2025
Description Langflow contains a missing authentication vulnerability in the /api/v1/validate/code endpoint that allows a remote, unauthenticated attacker to execute arbitrary code via crafted HTTP requests.
Required action Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due date May 26, 2025
Note
This vulnerability affects a common open-source project, third-party library, or a protocol used by different products. For more information, please see: https://github.com/advisories/GHSA-c995-4fw3-j39m ; https://nvd.nist.gov/vuln/detail/CVE-2025-3248
Ransomware campaign use Known
Data source Metasploit
Description 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.
Note
Stability:
  - crash-safe
SideEffects:
  - artifacts-on-disk
  - ioc-in-logs
Reliability:
  - repeatable-session
Ransomware campaign use Unknown
Source publication date April 9, 2025
Platform Python
Source URL https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/http/langflow_unauth_rce_cve_2025_3248.rb

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/pypa/advisory-database/blob/main/vulns/langflow/PYSEC-2025-36.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-08-15T19:50:13Z/

Decision: Act

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/3xxx/CVE-2025-3248.json

Source Advisory: vulnrichment/CVE-2025-3248

View SSVC decision tree
[{'Exploitation': 'active'},
 {'Automatable': 'yes'},
 {'Technical Impact': 'total'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]

Vector: SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-08-15T19:50:13Z/

Decision: Act

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/3xxx/CVE-2025-3248.json

Source Advisory: vulnrichment/CVE-2025-3248

View SSVC decision tree
[{'Exploitation': 'active'},
 {'Automatable': 'yes'},
 {'Technical Impact': 'total'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]