CVE-2026-126199
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL …
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the bundled CLI and web clients classified query_database statements only by their first keyword before deciding whether to display a write confirmation. SELECT INTO, data-modifying common table expressions beginning with WITH, and EXPLAIN ANALYZE of a write were treated as reads and could execute without confirmation on an allow_writes connection. Read-only connections remain protected by PostgreSQL transaction access mode, and EXPLAIN without ANALYZE and SELECT FOR UPDATE remain classified as reads. This issue is fixed in 1.1.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pgEdge/pgedge-postgres-mcp/commit/310c02809891cfaee6e4891cd7bb9aa1d459575c
- github.com/pgEdge/pgedge-postgres-mcp/pull/233
- github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0
- github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-5gmh-9683-hhq9
- nvd.nist.gov/vuln/detail/CVE-2026-126199
- cve.org/CVERecord?id=CVE-2026-126199
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.