{"id":"CVE-2026-54771","published":"2026-07-09T23:52:11Z","modified":"2026-07-10T14:23:23Z","title":"Langroid: handle_message() executes user-supplied tool JSON without sender verification","vendor":"langroid","product":"langroid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00392,"percentile":0.24972,"provenance":"source"},"cwes":[{"id":"CWE-75","name":"Failure to Sanitize Special Elements into a Different Plane"}],"references":[{"url":"https://github.com/langroid/langroid/security/advisories/GHSA-gjgq-w2m6-wr5q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":4.99},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"langroid","affectedVersions":[{"vendor":"langroid","product":"langroid","versions":["< 0.65.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-10T14:19:42.631163Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langroid","vulnerableRanges":["<0.65.3"],"patched":["0.65.3"],"from":["GHSA-gjgq-w2m6-wr5q","PYSEC-2026-2579"],"provenance":"source"}],"summary":{"text":"Langroid, a framework for building large-language-model-powered applications, contains a flaw in its handling of messages where tool invocation via user-supplied JSON is not verified against the sender, affecting versions prior to 0.65.3. An attacker with low privileges who can reach a chat interface exposed to untrusted users can trigger tools directly through raw JSON payloads, even when those tools are registered with use=False, handle=True, requiring no user interaction and no special configuration beyond such an exposed interface.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:31Z"},"euvd":{"id":"EUVD-2026-42756","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-50181","published":"2026-07-09","fixed":"0.64.0","kev":false},{"cve":"CVE-2026-54760","published":"2026-07-09","fixed":"0.65.1","kev":false},{"cve":"CVE-2026-54769","published":"2026-07-09","fixed":"0.65.2","kev":false,"link":{"from":"CVE-2026-54769","to":"CVE-2026-54771","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langroid","fromFixed":"0.65.2","toFixed":"0.65.3","daysApart":0}]}},{"cve":"CVE-2026-54771","published":"2026-07-09","fixed":"0.65.3","kev":false},{"cve":"CVE-2026-55615","published":"2026-07-09","fixed":"0.65.5","kev":false,"link":{"from":"CVE-2026-54771","to":"CVE-2026-55615","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langroid","fromFixed":"0.65.3","toFixed":"0.65.5","daysApart":0}]}}],"package":"PyPI:langroid"}}