llamaCVEVulnerability Intelligence
/
pgEdge Postgres MCP

CVE-2026-126196

pgEdge Postgres MCP SQL injection bypasses read-only mode in query_database

A remote attacker with a low-privilege login can slip writes and session changes past read-only mode.

Solo en configuraciones específicasParche disponibleSQL injection
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.1.0
Exposición8 dDesde la divulgación, 12 nov 2026, 12:27 p. m.
Detección4 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
12 nov 26
15 nov 26
16 nov 26
21 nov 26
12 nov 26
14 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-126196 divulgada · CVSS 8.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

pgEdge Postgres MCP Server's query_database tool can be bypassed by a remote attacker with low-privilege login, who sends unrecognized SQL statements containing multiple semicolon-separated statements to get around its read-only mode and combine writes with session changes when the connecting role has write privileges. This can compromise data integrity and availability, but it does not expose data beyond what the connection could already read.

Affects pgedge-postgres-mcp 1.0.0 and earlier, including alpha and beta pre-releases, where read_only is relied on as a safety boundary and the connecting role holds write privileges. Fixed in 1.1.0.

¿Qué significa?A flaw lets someone with tool-call access to a read-only connection write to the database anyway, including creating, altering and dropping objects.
¿Quién está afectado?Versions 1.0.0 and earlier, including alpha and beta pre-releases, where the deployment relies on read_only as a safety boundary and the connecting role holds write privileges on the database. To check, look at the installed pgedge-postgres-mcp version and the privileges of the database role it connects with.
¿Qué hacer?Upgrade pgedge-postgres-mcp to version 1.1.0 or later, which is the fixed version.
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, query_database on a read_only connection could send unrecognized statements through pgx Exec without bind parameters, selecting PostgreSQL's simple query protocol and allowing multiple semicolon-separated statements in one request. A caller could combine transaction or session state changes with database writes, and pooled session state could leave later calls writable, when the connecting role held write privileges. The flaw affected deployments relying on read_only as a safety boundary, could compromise integrity and availability, and did not add confidentiality impact beyond the reads already permitted by the connection. This issue is fixed in 1.1.0.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Deployment at version 1.0.0 or earlier, including alpha and beta pre-releases“including all alpha and beta pre-releases”
02
Deployment relies on read_only as a safety boundary“read_only as a safety boundary”
03
Connecting role holds write privileges on the database“connects with a role holding write”
¿Quién debe revisar?Teams running pgEdge Postgres MCP Server 1.0.0 or earlier that rely on read_only mode and connect with a write-capable database role.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
pgedge-postgres-mcp< 1.1.0
1.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pgedge-postgres-mcp
Corregida 1.1.0 — —
Versiones corregidas1.1.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-j7mp-839j-jrm7
Otrahttps://github.com/pgEdge/pgedge-postgres-mcp/pull/196
Otrahttps://github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868
Otrahttps://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.