TJEH / CVE reading sheet
CVE-2026-126197
The available vulnerability information, collected from NVD and presented by TJEH.
View the official NVD record (new tab)Highest published CVSS score
8.8 / 10
Scores may come from the assigning authority or NIST and can change.
- Published
- 12 Nov 2026, 19:17
- NVD update
- 13 Nov 2026, 20:19
- Last collected by TJEH
- 13 Nov 2026, 22:20
Times shown in Paris time.
In plain language
Raw watch record
This record has not yet been explained by TJEH. It shows the source information as published.
Poorly checked input may alter a database query.
General explanation of the reported weakness type (CWE), not an analysis of this specific CVE.
What the source reports
Source description as published by NVD
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, custom pl-do tools interpolated JSON arguments into a PostgreSQL DO block delimited by fixed dollar-quote tags. An argument containing $mcp_custom_tool$ could terminate the block and inject arbitrary SQL statements, while $mcp_args$ could inject procedural code into a plpgsql block. Because the statement used the simple query protocol, injected text could include additional statements and transaction control, bypassing read_only and accessing data or modifying resources available to the connecting role. The issue requires at least one pl-do custom tool; sql and pl-func tools pass arguments as bind parameters and are not affected by this injection mechanism. This issue is fixed in 1.1.0.
Fix and what to do
No verified fix here yet
Check whether your product and version are affected, then follow the publisher’s advisory to update. A published fix does not mean it has been installed on your systems.
Published CVSS metrics
CVSS 3.1 · 8.8/10
security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Reported weaknesses : CWE-89