CVE-2026-125322
pgEdge Postgres MCP SQL injection in the count_rows where parameter
A remote attacker with a low-privilege login can read data from any table the connected database role can read.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-125322 divulgada · CVSS 6.5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The pgEdge Postgres MCP Server, which lets MCP-compatible clients run SQL queries against PostgreSQL databases, has a SQL injection flaw in the where parameter of its count_rows tool. A remote attacker with a low-privilege login can use it to read data from any table the connected database role can already read, though the database's own privilege limits still apply.
Descripción original del registro (GitHub_M)
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pgedge-postgres-mcp |
Corregida | 1.1.0 | — | — |
1.1.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7https://github.com/pgEdge/pgedge-postgres-mcp/issues/200https://github.com/pgEdge/pgedge-postgres-mcp/pull/201https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
