Arbitrary Code Injection Affecting langroid package, versions [,0.53.15)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGROID-10361595
  • published16 Jun 2025
  • disclosed20 May 2025
  • creditSCH227

Introduced: 20 May 2025

NewCVE-2025-46725  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade langroid to version 0.53.15 or higher.

Overview

langroid is a Harness LLMs with Multi-Agent Programming

Affected versions of this package are vulnerable to Arbitrary Code Injection through the compute_from_docs process. An attacker can execute arbitrary code by manipulating the input data to the QueryPlan.dataframe_calc method.

References

CVSS Base Scores

version 4.0
version 3.1