CVE-2026-125322
published medium CVSS 3.1 · 6.5pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgEdge | — | pgedge-postgres-mcp< 1.1.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgEdge | pgedge-postgres-mcp | < 1.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command
- CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information
References
5- https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314
- 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/releases/tag/v1.1.0
- https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7
Provider assertions
2GitHub_M · cna
pgEdge Postgres MCP Server SQL injection in the count_rows where parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b5007c55adb27d3110347ab7570b54606a91935a07a353b10c8701fb753bda30
- Ingested
- 14 Nov 2026, 02:59:56 UTC
- Source record
- Official CVE record