ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-126196

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 multipl…

CVSS
8.1High
Chance of exploitation (EPSS)
0.43%
Published
Nov 12, 2026
In the news
Not yet
More from this vendor

What to do

A serious SQL injection flaw in Pgedge-postgres-mcp that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Pgedge-postgres-mcp
< 1.1.0

Description

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.

CWE-89CWE-693

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-126196 published (CVSS 8.1) (Nov 12, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Thu, Nov 12, 2026

  1. CVECVE-2026-126196 published (CVSS 8.1)CVE Program · 18:17 UTC

References 4

  • github.com /pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868
  • github.com /pgEdge/pgedge-postgres-mcp/pull/196
  • github.com /pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0
  • github.com /pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-j7mp-839j-jrm7

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”