Shellfeed logo Shellfeed

CVE-2026-126199 · MEDIUM (CVSS 6.8)

Summary: pgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keyword

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 15.9).

Details

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.

Severity

MEDIUM (CVSS 6.8) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H

Affected packages

  • GIT github.com/pgedge/pgedge-postgres-mcp [0 – 25c2aaed03398584ceea0dd71f7f67631c3dff4e]

References

Posts about CVE-2026-126199