{"affected":[{"product":"pgedge-postgres-mcp","source":"CNA: GitHub_M","vendor":"pgEdge","versions":[{"status":"affected","version":"< 1.1.0"}]}],"cveId":"CVE-2026-126196","cwes":["CWE-89","CWE-693"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.1,"severity":"high","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}],"modifiedAt":1794511745237,"publishedAt":1794504448595,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-j7mp-839j-jrm7"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/pgEdge/pgedge-postgres-mcp/pull/196"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/pgEdge/pgedge-postgres-mcp/commit/b5b929305de7a22cd6ed7de8ae1be2ac90ca0868"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0"}],"remediation":[],"revision":"99ca81dc461849b8d4b590efe85472d14d181eeda76d326f189b393ac77c968e","sources":[{"modifiedAt":1794511745237,"name":"CNA: GitHub_M","retrievedAt":1794514204052,"url":"https://www.cve.org/CVERecord?id=CVE-2026-126196"}],"ssvc":{"assessedAt":1794511199698,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"pgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_database","updatedAt":1794514204052}