pgEdge Postgres MCP Server SQL injection in the count_rows where parameter

State
Published
Severity
6.5 Medium
Published
Nov 10, 2026
Updated
Nov 14, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

Description

pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the where parameter of the count_rows tool accepted subqueries against tables other than the table named in the tool call. A caller could use predicates and the returned row count as an inference oracle to extract data from any other table that the connected database role could read. The database privilege boundary remained intact, and the flaw did not grant access to tables outside that role's existing SELECT privileges. This issue is fixed in version 1.1.0.

ProductVersions
pgedge-postgres-mcp pgEdge< 1.1.0 Affected

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
  • CWE-209 Generation of Error Message Containing Sensitive Information

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.