Vulnerability  ·  2026-11-13

pgEdge Postgres MCP Server: custom tools performed writes without user confirmation

VulnerabilityLow impactGlobalCVE-2026-126198
Before 1.1.0, write-confirmation logic matched only the query_database tool name, so an agent-invoked custom tool that writes data ran without the intended human confirmation.
Removes a guardrail around agent-driven database writes, allowing an agent (or prompt injection) to modify data silently.
The bundled clients decided whether to request write confirmation by checking only for the query_database tool name, so custom tool calls that perform writes were executed without a confirmation prompt.
pgedge-postgres-mcp < 1.1.0
Upgrade to pgedge-postgres-mcp 1.1.0; set DB roles to least privilege.
GitHub commit c86d5cbe (pgEdge)OpenAdvisories — CVE-2026-126198
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →