Langflow < 1.3.0 Unauthenticated Code Injection RCE (CVE-2025-3248) (Direct Check)

critical Nessus Plugin ID 334531

Synopsis

The remote host is running a web application affected by an unauthenticated remote code execution vulnerability.

Description

The version of Langflow running on the remote host is prior to 1.3.0 and is affected by an unauthenticated code injection vulnerability. The '/api/v1/validate/code' endpoint compiles and evaluates attacker-supplied Python during 'validation' - specifically, function default-argument values and decorators are executed. A remote, unauthenticated attacker can submit crafted code whose default argument invokes exec()/eval() to execute arbitrary Python, and ultimately arbitrary operating system commands, as the Langflow service user.

Nessus confirmed the flaw non-destructively by coercing the target into performing an out-of-band callback (a DNS lookup and/or a direct socket connection) back to the Nessus scanner. No operating system commands were executed on the target.

Solution

Upgrade to Langflow version 1.3.0 or later.

See Also

https://github.com/langflow-ai/langflow/pull/6911

https://github.com/langflow-ai/langflow/releases/tag/1.3.0

http://www.nessus.org/u?3d49c773

Plugin Details

Severity: Critical

ID: 334531

File Name: langflow_validate_code_rce_cve_2025_3248.nbin

Version: 1.1

Type: Remote

Published: 8/11/2026

Updated: 8/11/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.5

Percentile: 99.86

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/a:langflow:langflow

Required KB Items: installed_sw/Langflow

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/31/2025

Vulnerability Publication Date: 4/7/2025

Reference Information

CVE: CVE-2025-3248