- Home
- Vulnerabilities
- CVE-2026-125322
CVE-2026-125322
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
Low
35/100
Summary
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 products and versions
pgEdge (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| pgedge-postgres-mcp | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7x_refsource_CONFIRM
- https://github.com/pgEdge/pgedge-postgres-mcp/issues/200x_refsource_MISC
- https://github.com/pgEdge/pgedge-postgres-mcp/pull/201x_refsource_MISC
- https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314x_refsource_MISC
- https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0x_refsource_MISC
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-89 · Injection SQL