A security vulnerability, CVE-2026-138027, has been identified in Bagel versions prior to 2.5.5, where the query_messages MCP tool could execute DuckDB SQL with elevated file and network capabilities despite being labeled as read-only. This flaw, stemming from prompt injection, allowed malicious queries to potentially access local data, write files, or make external network requests. The impact, rated with CVSS scores of 7.7 (4.0) and 7.5 (3.1), depends on the specific deployment's configuration, but successful exploitation could expose sensitive information or compromise system integrity. Remediation involves upgrading to Bagel 2.5.5 or later and implementing stricter enforcement mechanisms beyond simple read-only annotations, such as capability removal and restricted function exposure. AI
IMPACT Security flaws in AI tools can lead to data breaches and unauthorized access, impacting user trust and system integrity.
RANK_REASON Security vulnerability disclosure for a specific software tool.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →