Vulnerability  ·  2026-11-13

pgEdge Postgres MCP Server: write confirmation skipped for writes that begin with a reading keyword

VulnerabilityLow impactGlobalCVE-2026-126199
Before 1.1.0, the CLI and web clients decided whether to request write confirmation based only on the first keyword of the statement, so a SELECT-like statement that performs a write was not flagged for confirmation.
For AI agents driving SQL via MCP, this removes an intended human-confirmation guardrail, so an agent can execute a write the operator expected to be prompted about.
The bundled clients classify query_database statements only by their first keyword before deciding whether to show a write confirmation, so a statement that starts with a reading keyword but later performs a write bypasses the confirmation prompt.
pgedge-postgres-mcp < 1.1.0 (CLI/web client query classification)
Upgrade to pgedge-postgres-mcp 1.1.0; prefer explicit write-allowlisting / least-privilege DB roles.
GitHub commit 310c028 (pgEdge)OpenAdvisories — CVE-2026-126199
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →