CVE-2025-46724CWE-94

Langroid has a Code Injection vulnerability in TableChatAgent

Critical · published May 20, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
57.2
In the wild
Unconfirmed
What it is

🚨 A sneaky code injection vulnerability lurks in Langroid's `TableChatAgent`, making untrusted user input a potential playground for attackers! 🔥 Think of it as a restaurant that lets patrons order dishes without verifying the ingredients — if a customer sneaks in a recipe for disaster, it could ruin the meal for everyone. 🥴 An attacker could exploit this flaw to execute arbitrary code on the server, potentially gaining full control over the application and compromising sensitive data. With a CVSS score of 9.8, the risk is absolutely devastating — it's like leaving the back door wide open for a burglar! 🏴‍☠️

Put simply

Think of it as a restaurant that lets patrons order dishes without verifying the ingredients — if a customer sneaks in a recipe for disaster, it could ruin the meal for everyone. 🥴 This vulnerability arises from the use of `pandas eval()` in Langroid's `TableChatAgent`, which fails to properly sanitize untrusted input, allowing for malicious code to be executed if fed by users.

What to do

An attacker could exploit this flaw to execute arbitrary code on the server, potentially gaining full control over the application and compromising sensitive data. With a CVSS score of 9.8, the risk is absolutely devastating — it's like leaving the back door wide open for a burglar! 🏴‍☠️ Upgrade to Langroid version 0.53.15 or later, which sanitizes input to mitigate these risks. Additionally, review your application for any instances of `pandas eval()` usage and ensure proper input validation mechanisms are in place! 🛡️ You've got this! By following these steps, you can strengthen your application's defenses and be a true security hero! 💪✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00830 · 57.2th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-05-20T17:22Z
EPSS history
Timeline
  • 20 MAY 17:22Z
    Langroid has a Code Injection vulnerability in TableChatAgent
    cvelistv5