Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › AI

CVE-2026-126196 — pgEdge pgedge-postgres-mcp

High · CVSS 8.1EPSS 0.4% First seen November 12, 2026

One of 4 pgEdge pgedge-postgres-mcp vulnerabilities published together by NVD: our article covers all of them.

AIDatabasesVulnerabilities

Research article

pgEdge Postgres MCP Server SQL Injection Vulnerability

CVECVE-2026-126196
Vendor and productpgEdge pgedge-postgres-mcp
PublishedNovember 24, 2026 20:40 UTC
Research cut-offNovember 24, 2026 19:50 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-126196pgEdgepgedge-postgres-mcpCWE-89, CWE-6938.1 HIGH, scored by security-advisories@github.com2026-11-122026-11-12Awaiting 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 ProductAffected VersionFixed Version
pgedge-postgres-mcp< 1.1.01.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

  1. Upgrade pgEdge Postgres MCP Server to version 1.1.0 or newer [1].
  2. Reviewing and limiting access to database connections is general defensive guidance, not stated in the record.
  3. 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

  1. 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. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. 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. Exploitation and threat intelligence status
  3. 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. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.1 CVSS 3.1 base score from the CNA (github.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-693: Protection Mechanism Failure

Affected and fixed versions

ProductAffected versionsFixed in
pgEdge pgedge-postgres-mcp< 1.1.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

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.

Timeline & sources

References

Related vulnerabilities & news