SQL Injection Vulnerability in pgEdge Postgres MCP Server
CVE-2026-125322
6.5MEDIUM
What is CVE-2026-125322?
The pgEdge Postgres MCP Server has a vulnerability in the count_rows tool that allows attackers to perform subqueries on unauthorized tables. This occurs due to improper handling of the where parameter prior to version 1.1.0. Attackers can exploit this flaw to extract sensitive information through inference while remaining within the database role's existing SELECT privileges. This issue has been addressed in version 1.1.0, enhancing the security model to prevent such unauthorized access.
Affected Version(s)
pgedge-postgres-mcp < 1.1.0
