CVE-2026-125322 pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125322?
CVE-2026-125322 is a medium-severity vulnerability in pgedge-postgres-mcp, published on 10 Nov 2026.
Official description
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.
Which versions are affected by CVE-2026-125322?
How do I fix CVE-2026-125322?
No fix has been published for CVE-2026-125322 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125322 being exploited?
There is no known exploitation of CVE-2026-125322 in the wild and no public exploit code.
Sources
Also known as GHSA-fhv3-x3jh-grj7.