CVE-2026-125322: pgEdge Postgres MCP Server SQL injection in the count_rows where parameter

Published Nov 10, 2026
·
Updated

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 countrows 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.

Affected Software

1 affected component
pgEdge Postgres MCP Server<1.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgEdge Postgres MCP Server to a version that resolves this vulnerability.

    Fixed in 1.1.0

Event History

Nov 10, 2026
CVE Published
via MITRE·05:39 PM
Data Sourced
via MITRE·05:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

pgEdge Postgres MCP Server versions prior to 1.1.0 are affected when the count_rows tool is available. Exposure is limited to data readable by the database role used by the server connection.

2

What does an attacker need to exploit this issue?

The attacker needs the ability to call the count_rows tool and supply its where parameter. They can use predicates containing subqueries and infer data from returned row counts.

3

Does this bypass PostgreSQL permissions?

No. The issue does not grant access beyond the connected database role's existing SELECT privileges; PostgreSQL's database privilege boundary remains intact.

4

How can this be remediated?

Upgrade pgEdge Postgres MCP Server to version 1.1.0, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203