Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting langroid package, versions [,0.65.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (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 IDSNYK-PYTHON-LANGROID-17837072
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

CVE-2026-54771  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade langroid to version 0.65.3 or higher.

Overview

langroid is a Harness LLMs with Multi-Agent Programming

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the handle_message process. An attacker can execute arbitrary tool handlers by sending crafted JSON payloads directly to the chat interface, bypassing sender verification. This may allow unauthorized access to sensitive operations such as file manipulation, database queries, or internal orchestration tools.

CVSS Base Scores

version 4.0
version 3.1