Home / Extelligence-ai / Bagel / CVE-2026-138027
CVE-2026-138027: is it exploited, and which versions of Extelligence-ai Bagel are affected and fixed?
CVE-2026-138027 is an exposed Dangerous Method or Function vulnerability in Extelligence-ai Bagel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Bagel before 2.5.5 (CVE record by VulnCheck). Fixed in 2.5.5 (CVE record by VulnCheck). Severity: High (7.7, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record December 1, 2026, 21:57 UTC and NVD December 1, 2026, 23:12 UTC.
What is CVE-2026-138027?
Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages
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.
From the CVE record by VulnCheck, last updated December 1, 2026, 21:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Extelligence-ai | Bagel | before 2.5.5 | 2.5.5 |
As the CVE record by VulnCheck states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-138027?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | 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 |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-138027 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 1, 2026)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-749 Exposed Dangerous Method or Function
Where are the vendor advisories and references?
- GitHub Security Advisory (GHSA-gx2g-3pch-43q5) vendor-advisory
- https://github.com/Extelligence-ai/bagel/commit/cbec958edd9ce105b9005c9e31631b1dc420ee4f patch
- Bagel v2.5.5 Release Notes release-notes
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/query.py#L11-L29 technical-description
- https://github.com/Extelligence-ai/bagel/blob/v2.5.4/bagel_mcp/server.py#L246 technical-description
- VulnCheck Advisory: Bagel before 2.5.5 Unsandboxed DuckDB SQL Execution via query_messages third-party-advisory
Who found and reported it?
- Syed Anas Mohiuddin (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 27, 2026
- Published
- November 27, 2026, 19:15 UTC
- CVE record updated
- December 1, 2026, 21:47 UTC by VulnCheck
- NVD
- Received, last modified December 1, 2026, 22:17 UTC
- Last checked
- CVE list December 1, 2026, 21:57 UTC; NVD December 1, 2026, 23:12 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Bagel?
- Nov 27, 2026CVE-2026-138028 Extelligence-ai Bagel: argument injection
Questions about CVE-2026-138027
Is CVE-2026-138027 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Extelligence-ai Bagel are affected by CVE-2026-138027?
Bagel before 2.5.5, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-138027?
2.5.5, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-138027?
High (7.7, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-138027?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.