Skip to content
MediumVulnerability

CVE-2026-126199: pgEdge Postgres MCP Server write statements bypass confirmation

Identifier
CVE-2026-126199
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

pgEdge Postgres MCP Server, prior to 1.1.0, classified query_database statements only by their first keyword when deciding whether to show a write confirmation. SELECT INTO, data-modifying WITH statements, and EXPLAIN ANALYZE of a write were treated as reads and could run without confirmation on an allow_writes connection. Read-only connections remain protected by PostgreSQL transaction access mode.

Mitigation

Fixed in 1.1.0.