CVE-2026-125322 json
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
published 2mo ago modified yesterday also EUVD-2026-121638 , GHSA-fhv3-x3jh-grj7
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository pgEdge/pgedge-postgres-mcp. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
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.
Patch / fix
Is CVE-2026-125322 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- pgEdge pgedge-postgres-mcp
Classification
References
- github.com /pgEdge/pgedge-postgres-mcp/pull/201
- github.com /pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314
-
github.com
/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7
advisory
- github.com /pgEdge/pgedge-postgres-mcp/issues/200
- github.com /pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0
Sources
- CVE List CVE-2026-125322
- NVD CVE-2026-125322
- Maintainer advisory GHSA-fhv3-x3jh-grj7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of pgEdge/pgedge-postgres-mcp published their own advisory on GitHub. Reviewed sources take precedence over it.