pgEdge Postgres MCP Server SQL injection in custom pl-do tools

high severity · published 2026-11-12

An attacker can inject arbitrary SQL through tool arguments, break out of the generated database block, and bypass the read_only setting. This gives access to data in the connected PostgreSQL database and allows extra statements and transaction control.

CVE: CVE-2026-126197

Source: NVD

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 2691 and your operating system.