ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-126199

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.

CVSS
6.8Medium
Chance of exploitation (EPSS)
0.31%
Published
Nov 12, 2026
In the news
Not yet
More from this vendor

What to do

A moderate security flaw in Pgedge-postgres-mcp that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Pgedge-postgres-mcp
< 1.1.0

Description

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.

CWE-357

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-126199 published (CVSS 6.8) (Nov 12, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Nov 12, 2026

  1. CVECVE-2026-126199 published (CVSS 6.8)CVE Program · 18:17 UTC

References 4

  • 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

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”