SecurityContext

CVE-2026-125322: pgEdge Postgres MCP Server - SQL Injection

  • Cve: CVE-2026-125322
  • Name: pgEdge Postgres MCP Server - SQL Injection
  • 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.
  • Impact: Callers can infer and extract data from any table the database role can read, potentially disclosing sensitive information.
  • Remediation: Upgrade to version 1.1.0 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs a database role with SELECT privileges on target tables
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00332
  • Epss percentile: 0.26627
  • Assignee: [email protected]
  • Published at: 2026-11-10T18:17:33Z
  • Age in days: 14
  • Modified at: 2026-11-14T03:17:25Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125322
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/pgEdge/pgedge-postgres-mcp/commit/933f1b4cb136183eb307064c1cf1ad2bf015f314
https://github.com/pgEdge/pgedge-postgres-mcp/issues/200
https://github.com/pgEdge/pgedge-postgres-mcp/pull/201
https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0
https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-fhv3-x3jh-grj7

Projects

RepositoryLink kindsIndexedUrl
pgEdge/pgedge-postgres-mcpcommit, fix, issues, pull, releases, security_advisoryyes/v1/repositories/pgEdge/pgedge-postgres-mcp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts