CVE-2026-125322
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
- Medium 6.5
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.
Key facts
- Published
- 10 Nov 2026
- Last changed
- 14 Nov 2026
- Assigned by
- GitHub_M
- EPSS
- 0.332% likely to be exploited in the next 30 days, higher than 26.731% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 6.5CVSS 3.1, Mediumfrom the CNA (GitHub_M)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pgEdge | pgedge-postgres-mcp |
|
Timeline
- 10 Nov 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on SQL injection (CWE-89).
References
- https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7
- https://github.com/pgEdge/pgedge-postgres-mcp/issues/200
- https://github.com/pgEdge/pgedge-postgres-mcp/pull/201
- https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314
- https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0