{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-126197","published":"2026-11-12T18:17:24.780000Z","last_modified":"2026-11-13T19:19:23.773000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-89"],"cpes":[],"cpes_truncated":false,"vendors":["pgedge"],"products":["pgedge/pgedge-postgres-mcp"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":55,"links":{"html_es":"/es/cve/CVE-2026-126197/","html_en":"/en/cve/CVE-2026-126197/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126197","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-126197"},"untrusted":{"vendor_name":"pgEdge","product_name":"pgedge-postgres-mcp","desc_en":"pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, custom pl-do tools interpolated JSON arguments into a PostgreSQL DO block delimited by fixed dollar-quote tags. An argument containing $mcp_custom_tool$ could terminate the block and inject arbitrary SQL statements, while $mcp_args$ could inject procedural code into a plpgsql block. Because the statement used the simple query protocol, injected text could include additional statements and transaction control, bypassing read_only and accessing data or modifying resources available to the connecting role. The issue requires at least one pl-do custom tool; sql and pl-func tools pass arguments as bind parameters and are not affected by this injection mechanism. This issue is fixed in 1.1.0.","affected":[{"untrusted_vendor":"pgEdge","untrusted_product":"pgedge-postgres-mcp"}],"references":[{"url":"https://github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868","tags":[]},{"url":"https://github.com/pgEdge/pgedge-postgres-mcp/pull/196","tags":[]},{"url":"https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0","tags":[]},{"url":"https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-r5pp-jx86-r6r9","tags":[]}]}}