CVE-2026-138027: Extelligence-ai Bagel · Exposed Dangerous Method or Function
Affects Extelligence-ai BagelSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 2.5.5 soon.
Data as of 27 Nov 2026, 19:30 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 2.5.5
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade Extelligence-ai Bagel to 2.5.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Extelligence-aiBagel | Affected
| Fixed in
|
PyPIBagelpkg:pypi/BagelOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Bagel (bagel-mcp) to version 2.5.5 or later, where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
Description
CVE-2026-138027 is a high-severity vulnerability in Extelligence-ai's Bagel (bagel-mcp) versions prior to 2.5.5. It allows unsandboxed execution of DuckDB SQL commands through the read-only annotated query_messages MCP tool. This exposure enables attackers who can inject prompts into the driving LLM via recorded logs or topics to execute file read/write operations and server-side request forgery by invoking functions like read_csv_auto, COPY TO, or httpfs. The issue is fixed in version 2.5.5.
References
- github.com/Extelligence-ai/bagel/security/advisories/GHSA-gx2g-3pch-43q5 (opens in a new tab)
- github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f (opens in a new tab)
- github.com/Extelligence-ai/bagel/releases/tag/v2.5.5 (opens in a new tab)
- github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/query.py (opens in a new tab)
- github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/server.py (opens in a new tab)
- vulncheck.com/advisories/bagel-before-2.5.5-unsandboxed-duckdb-sql-execution-via-query-messages (opens in a new tab)