cvelo
P2 · HighCVSS 7.5EPSS 0.6%

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

  • CVE-2026-138027
  • GHSA-xrqm-r82m-j847
  • EUVD-2026-137493

Description

Bagel (bagel-mcp) before 2.5.5 exposes unsandboxed DuckDB SQL execution through the read-only annotated query_messages MCP tool, allowing file access and network requests. Attackers who prompt-inject the driving LLM via recorded logs or topics can invoke read_csv_auto, COPY TO, or httpfs to read and write files and perform server-side request forgery.

Text from the CVE.org record.

Recommendation

  • Extelligence-ai Bagel

    • If you run a version before 2.5.5update to 2.5.5 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Extelligence-ai Bagel

    Affected versionsFixed in
    before 2.5.52.5.5

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.