CVE-2026-126197: pgEdge Postgres MCP Server SQL injection through custom pl-do tool parameters
pgEdge · pgedge-postgres-mcp
Affected: pgedge-postgres-mcp · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 31% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- pgEdge · pgedge-postgres-mcp< 1.1.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- SQL Injection
- Vendor
- pgEdge
- Published
- November 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-126197 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-89cwe.mitre.org
- github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-rgithub.com
- github.com/pgEdge/pgedge-postgres-mcp/pull/196github.com
- github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6egithub.com
- github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0github.com