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.
Published: 2026-07-09
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

raw JSON data as a tool call without verifying who sent it. Consequently, an attacker can supply specially crafted JSON that the system interprets as a request to run any tool registered with handle=True, a practice that aligns with CWE‑75, insecure handling of user‑supplied input. An attacker could potentially trigger harmful behavior such as executing from the ability to invoke arbitrary tools.)

Affected Systems

The flaw appears in Langroid versions earlier than 0.65 exposes a chat interface to untrusted users and registers tools with use=False and handle=True is vulnerable. Updating to 0.65.3 or later eliminates the vulnerability. The affected product is the langroid:langroid framework.

Risk and Exploitability

The CVSS score of 8.1 indicates high impact and medium to high exploitability. Given the EPSS score is reported as < 1 %, the likelihood of exploitation in the wild is currently low, and the flaw is not listed in the CISA KEV catalog. Attackers would most likely exploit the vulnerability by sending malicious JSON payloads directly to the chat endpoint; no prior authentication or privilege is required for the exploitation. The attack vector is inferred from to the exposed interface.

Generated by OpenCVE AI on July 29, 2026 at 11:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Langroid framework to version 0.65.3 or later to apply the vendor patch that fixes the tools that should not be invoked by untrusted input, and verify the sender of tool requests before input (CWE‑75).
  • Implement logging and monitoring of tool invocation events on the chat interface to detect and respond to suspicious activity.
  • Disable the registration of tools that should not be invoked by untrusted input by setting use=False and handle=False until the patch is applied, and enforce authentication on the chat interface to limit who can send raw JSON payloads.

Generated by OpenCVE AI on July 29, 2026 at 11:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gjgq-w2m6-wr5q Langroid: handle_message() executes user-supplied tool JSON without sender verification
History

Fri, 10 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Langroid
Langroid langroid
Vendors & Products Langroid
Langroid langroid

Fri, 10 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
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.
Title Langroid: handle_message() executes user-supplied tool JSON without sender verification
Weaknesses CWE-75
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Langroid Langroid
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T14:23:23.640Z

Reserved: 2026-06-15T23:23:57.713Z

Link: CVE-2026-54771

cve-icon Vulnrichment

Updated: 2026-07-10T14:20:03.721Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:45:03Z

Weaknesses
  • CWE-75

    Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)