CVE-2026-126196 — pgEdge pgedge-postgres-mcp
One of 4 pgEdge pgedge-postgres-mcp vulnerabilities published together by NVD: our article covers all of them.
AIDatabasesVulnerabilitiesResearch article
pgEdge Postgres MCP Server SQL Injection Vulnerability
| CVE | CVE-2026-126196 |
|---|---|
| Vendor and product | pgEdge pgedge-postgres-mcp |
| Published | November 24, 2026 20:40 UTC |
| Research cut-off | November 24, 2026 19:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-12); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
CVE-2026-126196 impacts pgEdge Postgres MCP Server versions before 1.1.0, where the querydatabase function on read-only connections can accept multiple semicolon-separated statements [1]. The flaw has a CVSS 3.1 score of 8.1, HIGH severity, with potential effects on data integrity and system availability [1]. The reviewed sources do not confirm exploitation [2]. The main recommendation is to upgrade to version 1.1.0 [1].
Key points
- CVE-2026-126196 impacts pgEdge Postgres MCP Server versions before 1.1.0, where the querydatabase function on read-only connections can accept multiple semicolon-separated statements [1].
- The flaw has a CVSS 3.1 score of 8.1, HIGH severity, with potential effects on data integrity and system availability [1].
- The reviewed sources do not confirm exploitation [2].
- The vulnerability is resolved in version 1.1.0 of pgedge-postgres-mcp [1].
- The EPSS score suggests a 0.43% chance of exploitation within the next 30 days, though this is a statistical prediction [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-126196 | pgEdge | pgedge-postgres-mcp | CWE-89, CWE-693 | 8.1 HIGH, scored by security-advisories@github.com | 2026-11-12 | 2026-11-12 | Awaiting Analysis |
Vulnerability description
The pgEdge Postgres MCP Server allows SQL queries against PostgreSQL databases through Model Context Protocol clients. Prior to version 1.1.0, the querydatabase function on a read-only connection allowed the transmission of unrecognized commands via pgx Exec without bind parameters, utilizing PostgreSQL's simple query protocol and permitting multiple semicolon-separated statements in a single request. This allowed callers to combine transaction or session state modifications with database writes, and if a pooled session had write permissions, subsequent calls could result in writable states [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability can be accessed over a network (AV:N), requires low privileges (PR:L), and does not need user interaction (UI:N). It could affect data integrity and system availability (I:H, A:H), but does not impact confidentiality (C:N) beyond what is already allowed by the connection [1].
Impact analysis
The description indicates the flaw could affect data integrity and system availability, with no additional confidentiality risks beyond what is already permitted by the connection. The CVSS 3.1 vector reads no confidentiality impact (C:N), high integrity impact (I:H), and high availability impact (A:H), as scored by security-advisories@github.com [1].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| pgedge-postgres-mcp | < 1.1.0 | 1.1.0 |
Exploitation and threat intelligence status
CVE-2026-126196 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score suggests a 0.43% chance of exploitation within the next 30 days, though this is a statistical prediction and not proof of exploitation [3].
Detection and exposure assessment
The record lists affected versions as those before 1.1.0 [1].
Remediation
The vulnerability is resolved in version 1.1.0 of pgedge-postgres-mcp [1].
Remediation checklist
- Upgrade pgEdge Postgres MCP Server to version 1.1.0 or newer [1].
- Reviewing and limiting access to database connections is general defensive guidance, not stated in the record.
- Monitoring system logs for unusual database activity is general defensive guidance, not stated in the record.
Evidence gaps
- The sources do not describe the technical mechanics of how the flaw operates.
- The sources do not mention any indicators of compromise.
- The sources do not describe any workarounds or compensating controls.
- The sources do not describe the product's internal architecture or configuration.
- The sources do not provide a complete version range for affected or fixed versions.
References
- CVE-2026-126196 record. NIST National Vulnerability Database (NVD), 2026-11-12. https://nvd.nist.gov/vuln/detail/CVE-2026-126196. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126196. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126196. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 8.1
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on integrity and availability, none on confidentiality
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-693: Protection Mechanism Failure
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| pgEdge pgedge-postgres-mcp | < 1.1.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- pgEdge pgedge-postgres-mcp
Frequently asked questions
What is CVE-2026-126196?
CVE-2026-126196 impacts pgEdge Postgres MCP Server versions before 1.1.0, where the querydatabase function on read-only connections can accept multiple semicolon-separated statements. The flaw has a CVSS 3.1 score of 8.1, HIGH severity, with potential effects on data integrity and system availability. The reviewed sources do not confirm exploitation. The main recommendation is to upgrade to version 1.1.0. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-126196?
CVE-2026-126196 has a CVSS 3.1 base score of 8.1 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-126196 being exploited?
Not as far as is known: CVE-2026-126196 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126196?
pgEdge pgedge-postgres-mcp < 1.1.0.
How do I fix CVE-2026-126196?
Upgrade pgEdge Postgres MCP Server to version 1.1.0 or newer. Reviewing and limiting access to database connections is general defensive guidance, not stated in the record. Monitoring system logs for unusual database activity is general defensive guidance, not stated in the record.