SCA: security update for langroid (GHSA-mxfr-6hcw-j9rq)

critical Tenable Cloud Security Plugin ID 442417

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Langroid is a framework for building large-language-model-powered applications. Prior to version 0.63.0,
SQLChatAgent executes SQL produced by an LLM, which is influenceable by prompt injection. When configured
with a database role that has privileges enabling code execution or filesystem access (e.g., PostgreSQL
pg_execute_server_program, MySQL FILE, MSSQL xp_cmdshell), an attacker who can shape the agent's input —
including indirectly via data returned to the LLM — can coerce execution of dialect-specific primitives
such as `COPY ... FROM PROGRAM`, achieving RCE on the database host. Fixed in v0.63.0 by defaulting
SQLChatAgent to a SELECT-only sqlglot-parsed statement allowlist with a dialect-aware dangerous-pattern
blocklist; allow_dangerous_operations=True restores the previous unrestricted behavior for trusted
deployments. (CVE-2026-25879)

Solution

Update the langroid library and its related packages to version 0.63.0 or later.

See Also

https://github.com/advisories/GHSA-mxfr-6hcw-j9rq

Plugin Details

Severity: Critical

ID: 442417

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/28/2026

Updated: 6/22/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.92

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-25879

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/27/2026

Vulnerability Publication Date: 5/27/2026

Reference Information

CVE: CVE-2026-25879