| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-126196 |
| Date (index) | 2026-11-12 |
| Affected product (index) | pgEdge pgedge-postgres-mcp: pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. |
| GHSA ID | GHSA-j7mp-839j-jrm7 |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-11-12 |
| Ecosystem | Source repository |
| Component | pgEdge pgedge-postgres-mcp |
| EPSS score | 0.004330000 (FIRST EPSS, 2026-11-16) |
| CVSS score | 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| CWE | CWE-89, CWE-693 |
| Affected versions | < 1.1.0 |
| Fixed versions | 1.1.0 |
| Fix status | Patched |
| Exploit status | Public advisory. This note does not include exploit steps. |
| Notes | Updated on 2026-11-16 from the published CVE record and FIRST EPSS. |
pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, query_database on a read_only connection could send unrecognized statements through pgx Exec without bind parameters, selecting PostgreSQL’s simple query protocol and allowing multiple semicolon-separated statements in one request. A caller could combine transaction or session state changes with database writes, and pooled session state could leave later calls writable, when the connecting role held write privileges. The flaw affected deployments relying on read_only as a safety boundary, could compromise integrity and availability, and did not add confidentiality impact beyond the reads already permitted by the connection. This issue is fixed in 1.1.0.
Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.
The published weakness mapping is CWE-89, CWE-693. Use the linked advisory for the upstream root cause.
This weakness is in an MCP server, SDK, client, or integration. A successful attack can change which tools an agent runs, which data the agent can read, or which host commands run in the operator’s context.
File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.
Upgrade to the vendor’s patched release. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.
If no patch is available yet, do not expose the MCP listener to untrusted networks and turn off optional tools that run host commands.