CVE-2026-138027
7.7high
Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages
- Severity
- 7.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.59% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| Extelligence-ai Bagel | before 2.5.5 | CVE List |
All scores
| VulnCheck | 7.7high CVSS:4.0 | 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 |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138027 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-138027 changed 2026-12-01 | Public domain |