# CVE-2026-125322: pgEdge Postgres MCP Server SQL injection in the count_rows where parameter

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-10T17:39:00.060Z
- Modified: 2026-11-14T03:17:25.590Z
- Weaknesses: CWE-89, CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- pgEdge pgedge-postgres-mcp: < 1.1.0

## 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>

## Sources

- CVE List: [CVE-2026-125322](https://www.cve.org/CVERecord?id=CVE-2026-125322), CVE Terms of Use, modified 2026-11-14
- NVD: [CVE-2026-125322](https://nvd.nist.gov/vuln/detail/CVE-2026-125322), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-125322 · Whole record: https://cve.day/CVE-2026-125322.json · Rebuilt by cve.day 2026-11-25T22:59:49.812Z
