Vulnerability · Published Jul 9, 2026 · Assigned by GitHub_M
CVE-2026-54771Langroid: handle_message() executes user-supplied tool JSON without sender verification
High 8.1
In plain English
A high-severity security flaw in langroid from langroid. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 66.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.3, a Langroid application exposing a chat interface to untrusted users may allow direct tool invocation via raw JSON payloads, even when tools are registered with `use=False, handle=True`. Version 0.65.3 fixes the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langroid | 0.65.3 | GHSA-gjgq-w2m6-wr5q |
| PyPI | langroid | 0.65.3 | PYSEC-2026-2579 |
Affected products (as reported)
Weakness: CWE-75 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/langroid/langroid/security/advisories/GHSA-gjgq-w2m6-wr5q x_refsource_CONFIRM