CVE-2026-126198

pgEdge Postgres MCP Server custom tools performed writes without user confirmation

Low published · updated

3.1
CVSS score out of 10 · NVD (github.com)

Description

pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the bundled clients, including the CLI and web client, decided whether to request write confirmation by checking only for the query_database tool name instead of server-published write annotations. Custom pl-do, pl-func, and writing sql tools therefore ran without confirmation on allow_writes connections, including when a model followed instructions in retrieved content. The affected control is a bundled-client warning rather than a server authorization boundary, and other MCP clients do not inherit that prompt. This issue is fixed in 1.1.0.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
pgedge-postgres-mcp pgedge < 1.1.0— CVE.org

References