CVE-2026-126196: falha de alta gravidade em pgedge-postgres-mcp
pgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_database
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 8.1epss 0.4%
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Produtos afetados
pgEdge · pgedge-postgres-mcpCVEs relacionadas — pgedge-postgres-mcp
No mesmo produto, das mais perigosas para as menos.
CVE-2026-125321MEDIUMpgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied headerEPSS 0.5%CVE-2026-126197HIGHpgEdge Postgres MCP Server SQL injection through custom pl-do tool parametersEPSS 0.4%CVE-2026-125322MEDIUMpgEdge Postgres MCP Server SQL injection in the count_rows where parameterEPSS 0.3%CVE-2026-126198LOWpgEdge Postgres MCP Server custom tools performed writes without user confirmationEPSS 0.3%CVE-2026-126199MEDIUMpgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keywordEPSS 0.2%CVE-2026-125320MEDIUMpgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebindingEPSS 0.1%
Referências
https://github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868https://github.com/pgEdge/pgedge-postgres-mcp/pull/196https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-j7mp-839j-jrm7