CVE-2026-126199 — pgEdge pgedge-postgres-mcp
One of 4 pgEdge pgedge-postgres-mcp vulnerabilities published together by NVD: our article covers all of them.
AIDatabasesVulnerabilitiesSummary
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 breakdown
Medium · 6.8
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on integrity and availability, none on confidentiality
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| pgEdge pgedge-postgres-mcp | < 1.1.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- pgEdge pgedge-postgres-mcp
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-126199?
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.
How severe is CVE-2026-126199?
CVE-2026-126199 has a CVSS 3.1 base score of 6.8 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-126199 being exploited?
Not as far as is known: CVE-2026-126199 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126199?
pgEdge pgedge-postgres-mcp < 1.1.0.
How do I fix CVE-2026-126199?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.