CVE-2024-42835
Homebrew vulnerability analysis and mitigation

Overview

Langflow version 1.0.12 contains a remote code execution (RCE) vulnerability through the PythonCodeTool component. The vulnerability was discovered and reported on July 24, 2024, and is tracked as CVE-2024-42835. The issue affects systems running Langflow v1.0.12 where the PythonCodeTool component is accessible (Github Issue).

Technical details

The vulnerability exists in the PythonCodeTool component's build function, which executes Python code directly using the exec() function without proper validation. The function accepts user-controlled input through the tool_code parameter and executes it within a local namespace, allowing arbitrary code execution. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

An attacker can exploit this vulnerability to execute arbitrary code on the server where the Langflow application is deployed. This could lead to complete system compromise, allowing attackers to access sensitive data, modify system files, and potentially gain full control of the affected server (Github Issue).

Mitigation and workarounds

As of the vulnerability disclosure, users should avoid using the PythonCodeTool component until a patch is released. System administrators should implement additional security controls and input validation mechanisms when deploying Langflow applications (Github Issue).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66222CRITICAL9.6
  • HomebrewHomebrew
  • deepchat
NoNoDec 03, 2025
CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-59789HIGH7.5
  • HomebrewHomebrew
  • brpc
NoYesDec 01, 2025
CVE-2025-63317MEDIUM5.4
  • NixOSNixOS
  • todoist
NoNoDec 01, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management