CVE-2026-126199
JSON

6.8medium

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

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
pgEdge pgedge-postgres-mcp< 1.1.0CVE List

Classification

CWE-357

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126199 changed 2026-11-16CVE Terms of Use
NVDCVE-2026-126199 changed 2026-11-16Public domain