1. Home
  2. Vulnerabilities
  3. CVE-2026-138027

CVE-2026-138027

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

Published 27 Nov 2026 · modified 4 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 45/100

Summary

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.

Affected products and versions

Extelligence-ai (1 line(s))
Extelligence-ai
ProductVersionsFixed inSource
Bagel before 2.5.5 (excluded) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-749 · Autre (CWE-749)

How this data is obtained and calculated