CVE-2026-126197
Last modified
CVE-2026-126197 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgEdge | pgedge-postgres-mcp | < 1.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126197?
How severe is CVE-2026-126197?
How do I fix CVE-2026-126197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12619Improper Neutralization of Input During Web Page Generation …5.4
- CVE-2026-126190Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-126191Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-126192Soup Sieve is a CSS selector library designed to be used wit…6.3
- CVE-2026-126193Soup Sieve is a CSS selector library for Beautiful Soup. Fro…5.3
- CVE-2026-126196pgEdge Postgres MCP Server enables SQL queries against Postg…8.1
- CVE-2026-126198pgEdge Postgres MCP Server enables SQL queries against Postg…3.1
- CVE-2026-126199pgEdge Postgres MCP Server enables SQL queries against Postg…6.8
- CVE-2026-1262IBM InfoSphere Information Server 11.7.0.0 through 11.7.1.6 …4.3
- CVE-2026-12620The GridTime 3000 GNSS Time Server leaks the access token in…6.5
- CVE-2026-126203Loofah is a general library for manipulating and transformin…6.1
- CVE-2026-126204express-rate-limit is a basic rate-limiting middleware for E…3.7
Are you affected by CVE-2026-126197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
