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.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 1 repo
Confirmed
1 patch mentions · 2 advisories
Stable
Peak 1 on Jun 1, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
Triage Priority
CVSS v3.1
Source: GitHub
5mentions
Across 5 tracked days
| Authority | Version | Score | Vector String |
|---|---|---|---|
CNAGitHub | v3.1 | 9.8CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
5 total mentions across 5 observed days · Peak 1 on Jun 1, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.