NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
Not in CISA KEV
HIGH severity

CVE-2026-138027 — BAGEL

HIGHFix: Extelligence-ai/bagel@cbec958

CVE-2026-138027 is a high-severity (CVSS 7.5) CWE-749 vulnerability in Extelligence-ai Bagel. A fix is available — see the affected versions and patch details below.

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…

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
None indexed
Exploitation data as of Nov 27, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

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.

Affected Products

1 product · 1 configurations
Application
BagelExtelligence-ai
< 2.5.5
1 version
0

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every Extelligence-ai Bagel deployment and check each version against the affected-products list above.

  2. Fix

    Apply the Extelligence-ai Bagel security patch or hotfix for CVE-2026-138027 on the affected version, following the vendor advisory for your exact build.

  3. Workarounds

    Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

Frequently Asked Questions

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.
O3 Security · Runtime Protection

Is CVE-2026-138027 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.