CVE-2026-125322: medium-severity vulnerability in pgedge-postgres-mcp
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.3%
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the where parameter of the count_rows tool accepted subqueries against tables other than the table named in the tool call. A caller could use predicates and the returned row count as an inference oracle to extract data from any other table that the connected database role could read. The database privilege boundary remained intact, and the flaw did not grant access to tables outside that role's existing SELECT privileges. This issue is fixed in version 1.1.0.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
pgEdge · pgedge-postgres-mcpRelated CVEs — pgedge-postgres-mcp
In the same product, most dangerous first.
CVE-2026-125321MEDIUMpgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied headerEPSS 0.5%CVE-2026-126196HIGHpgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_databaseEPSS 0.4%CVE-2026-126197HIGHpgEdge Postgres MCP Server SQL injection through custom pl-do tool parametersEPSS 0.4%CVE-2026-126198LOWpgEdge Postgres MCP Server custom tools performed writes without user confirmationEPSS 0.3%CVE-2026-126199MEDIUMpgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keywordEPSS 0.2%CVE-2026-125320MEDIUMpgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebindingEPSS 0.1%
References
https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314https://github.com/pgEdge/pgedge-postgres-mcp/issues/200https://github.com/pgEdge/pgedge-postgres-mcp/pull/201https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7