Home / langroid / langroid / CVE-2026-54769
CVE-2026-54769: is it exploited, and which versions of langroid are affected and fixed?
CVE-2026-54769 is a code injection (remote code execution) vulnerability in langroid. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: langroid before 0.65.2 (GitHub advisory GHSA-q9p7-wqxg-mrhc). Fixed in 0.65.2 (GitHub advisory GHSA-q9p7-wqxg-mrhc). Severity: Critical (10.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-54769?
Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent
Langroid is a framework for building large-language-model-powered applications. Versions prior to 0.65.2 are vulnerable to a critical Sandbox Escape leading to Remote Code Execution (RCE) in its `TableChatAgent` and `VectorStore` capabilities. When these agents evaluate LLM-generated tool messages with `full_eval=True`, they attempt to sandbox the execution by explicitly setting `locals` to an empty dictionary `{}` inside Python's `eval()` function. However, this relies on an incomplete understanding of Python's execution model. Because `__builtins__` is not explicitly scrubbed from the `globals` dictionary mapping, Python implicitly injects all built-ins during execution, granting full access to functions like `__import__('os').system()`. Since `TableChatAgent.pandas_eval()` executes external LLM outputs natively, this bypass permits any attacker providing prompt payload to achieve unauthenticated RCE on the host system. Version 0.65.2 patches the issue.
From the CVE record by GitHub_M, last updated July 10, 2026, 14:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| langroid | langroid | < 0.65.2 |
As the CVE record by GitHub_M states it, last updated July 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | langroid | < 0.65.2 | 0.65.2 | GHSA-q9p7-wqxg-mrhc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 6, 2026. Summary: Langroid: Sandbox Escape to Remote Code Execution via Incomplete `eval()` Mitigation in TableChatAgent.
How severe is CVE-2026-54769?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54769 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, July 10, 2026)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/langroid/langroid/security/advisories/GHSA-q9p7-wqxg-mrhc x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 15, 2026
- Published
- July 9, 2026, 23:51 UTC
- CVE record updated
- July 10, 2026, 14:12 UTC by GitHub_M
- NVD
- Deferred, last modified July 10, 2026, 15:49 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect langroid?
- Jul 9, 2026CVE-2026-54771 langroid: failure to Sanitize Special Elements into a Different Plane
- Jul 9, 2026CVE-2026-54760 langroid: path traversal (reading or writing files outside the intended folder)
- Jul 9, 2026CVE-2026-50181 langroid: path traversal (reading or writing files outside the intended folder)
- Jul 9, 2026CVE-2026-50180 langroid: path traversal (reading or writing files outside the intended folder)
- Jul 9, 2026CVE-2026-55615 langroid: injection
- Jun 1, 2026CVE-2026-25879 langroid: SQL injection
- Feb 4, 2026CVE-2026-25481 langroid: code injection (remote code execution)
- May 20, 2025CVE-2025-46725 langroid: code injection (remote code execution)
Questions about CVE-2026-54769
Is CVE-2026-54769 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of langroid are affected by CVE-2026-54769?
langroid before 0.65.2, per the GitHub advisory GHSA-q9p7-wqxg-mrhc. The tables above give every range the sources list.
Which version fixes CVE-2026-54769?
0.65.2, per the GitHub advisory GHSA-q9p7-wqxg-mrhc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-54769?
Critical (10.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54769?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.