CVE-2026-126198 — 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 clients, including the CLI and web client, decided whether to request write confirmation by checking only for the query_database tool name instead of server-published write annotations. Custom pl-do, pl-func, and writing sql tools therefore ran without confirmation on allow_writes connections, including when a model followed instructions in retrieved content. The affected control is a bundled-client warning rather than a server authorization boundary, and other MCP clients do not inherit that prompt. This issue is fixed in 1.1.0.
Severity breakdown
Low · 3.1
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
- low on integrity, none on confidentiality and availability
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-126198?
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the bundled clients, including the CLI and web client, decided whether to request write confirmation by checking only for the querydatabase tool name instead of server-published write annotations.
How severe is CVE-2026-126198?
CVE-2026-126198 has a CVSS 3.1 base score of 3.1 (low), 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-126198 being exploited?
Not as far as is known: CVE-2026-126198 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-126198?
pgEdge pgedge-postgres-mcp < 1.1.0.
How do I fix CVE-2026-126198?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.