← VULNERABILITIES

CVE-2026-138027

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

High · 7.7Fix available
CVSS
7.7
EPSS
—
Published
2026-11-27
Age
20h old
Modified
2026-11-27
Product
Extelligence-ai Bagel
Aliases
GHSA-gx2g-3pch-43q5, CVE-2026-138028

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Fixed in

2.5.5

Affected packages

EcosystemPackageRangeFixed
vendorBagel>=0, <2.5.52.5.5

Sources

  • NVD · first seen 18h ago · NVD terms of use
  • OSV · first seen 18h ago · CC-BY 4.0
  • CVE List · first seen 19h ago · CVE Terms of Use

References

JSON