MODULE

Langflow AI RCE

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Langflow AI RCE

Disclosed
04/09/2025
Created
04/14/2025

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.

Author(s)

  • Naveen Sunkavally (Horizon3.ai)
  • Takahiro Yokoyama

Platform

Python

Architectures

python

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/langflow_unauth_rce_cve_2025_3248
msf exploit(langflow_unauth_rce_cve_2025_3248) > show targets
    ...targets...
msf exploit(langflow_unauth_rce_cve_2025_3248) > set TARGET < target-id >
msf exploit(langflow_unauth_rce_cve_2025_3248) > show options
    ...show and set options...
msf exploit(langflow_unauth_rce_cve_2025_3248) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;