CVE-2026-125322
6.5medium
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pgEdge pgedge-postgres-mcp | < 1.1.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-125322 changed 2026-11-14 | CVE Terms of Use |
| NVD | CVE-2026-125322 changed 2026-11-14 | Public domain |