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

Home › Vulnerabilities › pgEdge

High 8.8 4 CVEs Analysis

pgEdge Postgres MCP Server: four flaws, including SQL injection, fixed in version 1.1.0

NVD published four vulnerabilities in pgEdge Postgres MCP Server, affecting releases before 1.1.0. The two highest-rated flaws are server-side issues that can allow injected SQL and bypass of readonly protections, while the two lower-rated flaws concern write confirmation in the bundled clients.

What to look into

  • 4 vulnerabilities in pgEdge pgedge-postgres-mcp: 2 high, 1 medium, 1 low (CVSS up to 8.8).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-126197 (8.8 high): pgEdge Postgres MCP Server SQL Injection Flaw in Versions Before 1.1.0. An attacker with a normal user account can exploit this over the network, without any user action.
  • 2 of 4 can be attacked over the network without logging in.
  • Kinds of flaws: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (×2); Protection Mechanism Failure.
AIDatabasesLaw enforcementVulnerabilities

Key points

  • CVE-2026-126197 (HIGH, 8.8) allows SQL injection through custom pl-do tools.
  • CVE-2026-126196 (HIGH, 8.1) lets readonly connections send multiple statements, including writes.
  • CVE-2026-126199 and CVE-2026-126198 weaken write confirmation in the bundled CLI and web clients.
  • All four issues are fixed in pgEdge Postgres MCP Server 1.1.0.
  • The records do not report exploitation or give workarounds beyond upgrading.

The batch covers four CVEs in pgEdge Postgres MCP Server, a tool that runs SQL queries against PostgreSQL databases through Model Context Protocol clients. All four affect versions prior to 1.1.0, and the records state that each is fixed in 1.1.0.

Server-side flaws

The most severe entry is CVE-2026-126197 (HIGH, CVSS 8.8). Custom pl-do tools placed JSON arguments into a PostgreSQL DO block using fixed dollar-quote tags. According to the record, an argument containing $mcpcustomtool$ could end the block and inject arbitrary SQL, and $mcpargs$ could inject procedural code. The record says this requires at least one pl-do custom tool; sql and pl-func tools use bind parameters and are not affected.

CVE-2026-126196 (HIGH, CVSS 8.1) affects querydatabase on readonly connections. Unrecognized statements could be sent through the simple query protocol, allowing several semicolon-separated statements. The record says this could combine transaction or session changes with writes when the connecting role had write privileges, undermining readonly as a safety boundary.

Client-side confirmation flaws

CVE-2026-126199 (MEDIUM, CVSS 6.8) concerns the bundled CLI and web clients, which classified statements by their first keyword. SELECT INTO, data-modifying CTEs beginning with WITH, and EXPLAIN ANALYZE of a write were treated as reads and could run without confirmation on allowwrites connections. Read-only connections remain protected by PostgreSQL transaction access mode.

CVE-2026-126198 (LOW, CVSS 3.1) involves the same clients checking only the querydatabase tool name, so custom pl-do, pl-func, and writing sql tools ran without confirmation. The record describes this as a warning in the bundled client rather than a server authorization boundary.

Exploitation and mitigation

The records do not state that any of these flaws has been exploited. Apart from the upgrade to 1.1.0, they do not give workarounds or detection guidance.

What to do

  1. Upgrade pgEdge Postgres MCP Server to version 1.1.0, which the records say fixes all four issues.
  2. Check whether any custom pl-do tools are configured, since CVE-2026-126197 requires at least one.
  3. Do not rely on the readonly setting alone as a safety boundary until the server is upgraded, as CVE-2026-126196 describes.
  4. Treat the bundled client write prompts as a warning only, since the records say they are not a server authorization boundary.

Our article about all 4 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 4 vulnerabilities

  • CVE-2026-126197 8.8 pgEdge Postgres MCP Server SQL Injection Flaw in Versions Before 1.1.0
  • CVE-2026-126196 8.1 pgEdge Postgres MCP Server SQL Injection Vulnerability
  • CVE-2026-126199 6.8 pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the bundled CLI and web clients classified querydatabase statements only by their first keyword…
  • CVE-2026-126198 3.1 pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the bundled clients, including the CLI and web client, decided whether to request write confirma…

Frequently asked questions

How many pgEdge pgedge-postgres-mcp vulnerabilities were published on November 12, 2026?

4 vulnerabilities: 2 high, 1 medium, 1 low, with CVSS scores up to 8.8.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-126197 (CVSS 8.8): pgEdge Postgres MCP Server SQL Injection Flaw in Versions Before 1.1.0.

Original records