p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in langroid

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für langroid: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 11

  1. CVE-2026-54771

    Hoch · CVSS 8.1EPSS 0,39%Korrektur verfügbar

    Langroid: handle_message() executes user-supplied tool JSON without sender verification

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.3, a Langroid application exposing a chat interface to untrusted users may allow direct tool invocation via raw JSON payloads, even when tools are registered with `use=False, handle=True`. Version 0.65.3 fixes the issue.

    • Auf 0.65.3 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-54769

    Kritisch · CVSS 10EPSS 0,91%Korrektur verfügbar

    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

    • Auf 0.65.2 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-54760

    Kritisch · CVSS 9.3EPSS 0,65%Korrektur verfügbar

    Langroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file calls

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.1, the `SQLChatAgent` SQL-injection mitigation, with default `allow_dangerous_operations=False`, combines a raw-text regex blocklist (`_DANGEROUS_SQL_PATTERNS`) with a `sqlglot` SELECT-only statement allowlist. The blocklist entries that target callable functions require the function name to be immediately followed by `\s*\(`. PostgreSQL accepts the same call with the name separated from `(` by a quoted identifier, an inline comment, or schema qualification. These forms evade the regex, still parse as `SELECT`, and execute the same PostgreSQL

    • Auf 0.65.1 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-50181

    Hoch · CVSS 7.1EPSS 0,18%Korrektur verfügbar

    Langroid: Path traversal in the file tools allows read/write outside configured current directory

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.64.0, Langroid's `ReadFileTool` and `WriteFileTool` appear to treat `curr_dir` as the intended working-directory boundary for file operations. However, the tools only change the process working directory to `curr_dir` and then operate on the user-supplied `file_path` without resolving and enforcing that the final path remains inside `curr_dir`. As a result, a tool caller can supply path traversal sequences such as `../secret.txt` to read files outside the configured current directory, or `../written_by_tool.txt` to write files outside that direc

    • Auf 0.64.0 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-50180

    Hoch · CVSS 8.7EPSS 0,69%Korrektur verfügbar

    Langroid: SQLChatAgent _validate_query blocklist misses pg_read_file family enabling arbitrary file read

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.64.0, `SQLChatAgent` in `langroid` ships a `_validate_query` defense-in-depth layer whose `_DANGEROUS_SQL_PATTERNS` regex blocklist enumerates dangerous SQL primitives by specific function name. The list misses the canonical PostgreSQL filesystem-disclosure family `pg_read_file()`, `pg_stat_file()`, `pg_ls_logdir()`, `pg_ls_waldir()`, `pg_current_logfile()` (and similar `SELECT`-shaped functions in the same family). It also leaves SQL Server `OPENDATASOURCE` and SQLite `ATTACH '<file>' AS x` (DATABASE keyword omitted) unblocked. An attacker able

    • Auf 0.64.0 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2026-55615

    Kritisch · CVSS 9.2EPSS 0,46%Korrektur verfügbar

    Langroid: Neo4jChatAgent executes LLM-generated Cypher without validation (prompt-to-Cypher injection; config-conditional RCE), mirroring the SQLChatAgent bug fixed in CVE-2026-25879

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.65.5, Neo4jChatAgent passes LLM-generated Cypher queries straight to the Neo4j driver with no validation, no statement-type allowlist, and no opt-out gate. The query text is influenceable by prompt injection (direct user input or indirect content the agent reads back via RAG), so an attacker who can influence the prompt can read or destroy all graph data and, when APOC or dbms.security procedures are enabled on the server, achieve OS-command and filesystem access. This is the same defect class and threat model as the SQLChatAgent prompt-to-SQL-t

    • Auf 0.65.5 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2026-25879

    Kritisch · CVSS 9.8EPSS 0,55%Korrektur verfügbar

    Langroid has Prompt to SQL Injection, Leading to RCE

    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-o

    • Auf 0.63.0 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2026-25481

    Kritisch · CVSS 9.4EPSS 0,73%Korrektur verfügbar

    Langroid has WAF Bypass Leading to RCE in TableChatAgent

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.59.32, there is a bypass to the fix for CVE-2025-46724. TableChatAgent can call pandas_eval tool to evaluate the expression. There is a WAF in langroid/utils/pandas_utils.py introduced to block code injection CVE-2025-46724. However it can be bypassed due to _literal_ok() returning False instead of raising UnsafeCommandError on invalid input, combined with unrestricted access to dangerous dunder attributes (__init__, __globals__, __builtins__). This allows chaining whitelisted DataFrame methods to leak the eval builtin and execute arbitrary code

    • Auf 0.59.32 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2025-46725

    Hoch · CVSS 8.1EPSS 0,53%Korrektur verfügbar

    Langroid has a Code Injection vulnerability in LanceDocChatAgent through vector_store

    Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, `LanceDocChatAgent` uses pandas eval() through `compute_from_docs()`. As a result, an attacker may be able to make the agent run malicious commands through `QueryPlan.dataframe_calc]`) compromising the host system. Langroid 0.53.15 sanitizes input to the affected function by default to tackle the most common attack vectors, and added several warnings about the risky behavior in the project documentation.

    • Auf 0.53.15 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2025-46724

    Kritisch · CVSS 9.8EPSS 0,83%Korrektur verfügbar

    Langroid has a Code Injection vulnerability in TableChatAgent

    Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, `TableChatAgent` uses `pandas eval()`. If fed by untrusted user input, like the case of a public-facing LLM application, it may be vulnerable to code injection. Langroid 0.53.15 sanitizes input to `TableChatAgent` by default to tackle the most common attack vectors, and added several warnings about the risky behavior in the project documentation.

    • Auf 0.53.15 aktualisieren
    Veröffentlicht Aktualisiert
  11. CVE-2025-46726

    Hoch · CVSS 7.8EPSS 0,65%Korrektur verfügbar

    Langroid Vulnerable to XXE Injection via XMLToolMessage

    Langroid is a framework for building large-language-model-powered applications. Prior to version 0.53.4, a LLM application leveraging `XMLToolMessage` class may be exposed to untrusted XML input that could result in DoS and/or exposing local files with sensitive information. Version 0.53.4 fixes the issue.

    • Auf 0.53.4 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →