CVE-2026-126199: pgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keyword

Published Nov 12, 2026
·
Updated

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 querydatabase 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 allowwrites 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgEdge Postgres MCP Server to a version that resolves this vulnerability.

    Fixed in 1.1.0

Event History

Nov 12, 2026
CVE Published
via MITRE·05:32 PM
Data Sourced
via MITRE·05:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to unconfirmed database writes?

Deployments using pgEdge Postgres MCP Server versions before 1.1.0 with an allow_writes connection are exposed. Read-only connections remain protected by PostgreSQL transaction access mode.

2

What must an attacker or client do to bypass the write confirmation?

They must submit a query_database statement whose first keyword causes it to be classified as a read while it performs a write. Affected patterns include SELECT INTO, data-modifying common table expressions beginning with WITH, and EXPLAIN ANALYZE applied to a write.

3

Are all queries beginning with SELECT, WITH, or EXPLAIN affected?

No. EXPLAIN without ANALYZE and SELECT FOR UPDATE remain classified as reads. The confirmation bypass applies to the specified constructs that can perform writes despite beginning with a reading keyword.

4

What is the remediation?

Upgrade pgEdge Postgres MCP Server to version 1.1.0, which fixes the query classification issue. Until upgrading, use read-only connections where writes are not required, because PostgreSQL transaction access mode protects those connections from writes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203