CVE-2026-25879: Vulnerability in langroid

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

PyPI, CWE-89, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-mxfr-6hcw-j9rq
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89, CWE-94
Published
27 May 2026
Last change
21 Jul 2026
Likelihood rank
Higher than 48 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • langroid PyPI, Affected before 0.63.0. Fixed in 0.63.0

Advisories

Vendor and security advisories