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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T20:42:18.000Z
- Modified: 2026-07-13T16:43:24.578Z
- Also known as: GHSA-gjgq-w2m6-wr5q, PYSEC-2026-2579
- Weaknesses: CWE-74, CWE-75
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- langroid langroid: < 0.65.3
- langroid (PyPI): before 0.65.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `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> (exploit, web)
- <https://github.com/langroid/langroid> (package)
- <https://pypi.org/project/langroid> (package)
- <https://github.com/advisories/GHSA-gjgq-w2m6-wr5q> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54771> (advisory)

## Sources

- CVE List: [CVE-2026-54771](https://www.cve.org/CVERecord?id=CVE-2026-54771), CVE Terms of Use, modified 2026-07-10
- GitHub Advisory Database: [GHSA-gjgq-w2m6-wr5q](https://github.com/advisories/GHSA-gjgq-w2m6-wr5q), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-54771](https://nvd.nist.gov/vuln/detail/CVE-2026-54771), Public domain, modified 2026-07-10
- PyPA Advisory Database: [PYSEC-2026-2579](https://osv.dev/vulnerability/PYSEC-2026-2579), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54771 · Whole record: https://cve.day/CVE-2026-54771.json · Rebuilt by cve.day 2026-11-25T22:59:27.585Z
