๐Ÿ” CVE Alert

CVE-2026-126196

HIGH 8.1

pgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_database

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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 CWE-89 CWE-693
Vendor pgedge
Product pgedge-postgres-mcp
Published Nov 12, 2026
Last Updated Nov 12, 2026
Stay Ahead of the Next One

Get instant alerts for pgedge pgedge-postgres-mcp

Be the first to know when new high vulnerabilities affecting pgedge pgedge-postgres-mcp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Affected Versions

pgEdge / pgedge-postgres-mcp
< 1.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-j7mp-839j-jrm7 github.com: https://github.com/pgEdge/pgedge-postgres-mcp/pull/196 github.com: https://github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868 github.com: https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0