Skip to content

Bagel

Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages

CVE-2026-138027Published 27 Nov 2026, 19:15 UTC

Real-world risk

1.2/ 10Low

Routine

If the vulnerable configuration applies to you: 2.7

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.7

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from VulnCheck)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
BagelNiche< 2.5.52.5.5

What to do

Update to a fixed version: 2.5.5.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.6% chance of exploitation in 30 days (percentile 50), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.142
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.1418 × threat 0.851.205
  4. Rounded to one decimal between 0.1 and 101.2

How the score works

Exploitation and evidence timeline

  1. 27 Nov 2026 Published
  2. 2 Dec 2026 Risk 1.2 (cvss fallback)

Weakness

CWE-749

References

Get alerts for Bagel

Free email or text alerts when a vulnerability in Bagel reaches risk 8 or higher. Nothing else.