Skip to content
HighVulnerability

CVE-2026-126196: pgEdge Postgres MCP Server read-only bypass through query_database

Identifier
CVE-2026-126196
Published
Record updated
View JSON

Summary

pgEdge Postgres MCP Server, prior to 1.1.0, let query_database on a read_only connection send unrecognized statements through pgx Exec without bind parameters, using PostgreSQL's simple query protocol to run multiple semicolon-separated statements in one request. A caller could combine transaction or session state changes with 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 and could compromise integrity and availability, with no added confidentiality impact.

Mitigation

Fixed in 1.1.0.