CVE-2026-126199
published medium CVSS 3.1 · 6.8pgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keyword
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgEdge | — | pgedge-postgres-mcp< 1.1.0 | Affected | Not stated | GitHub_M |
Description
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 query_database statements only by their first keyword before deciding whether to display a write confirmation. SELECT INTO, data-modifying common table expressions beginning with WITH, and EXPLAIN ANALYZE of a write were treated as reads and could execute without confirmation on an allow_writes connection. Read-only connections remain protected by PostgreSQL transaction access mode, and EXPLAIN without ANALYZE and SELECT FOR UPDATE remain classified as reads. This issue is fixed in 1.1.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgEdge | pgedge-postgres-mcp | < 1.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-357 CWE-357: Insufficient UI Warning of Dangerous Operations
References
4- https://github.com/pgEdge/pgedge-postgres-mcp/commit/310c02809891cfaee6e4891cd7bb9aa1d459575c
- https://github.com/pgEdge/pgedge-postgres-mcp/pull/233
- https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0
- https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-5gmh-9683-hhq9
Provider assertions
2GitHub_M · cna
pgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keyword
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc06d7b4541c51463979297062e3b879aa51ccd58735dd1733301051c07ed99b
- Ingested
- 16 Nov 2026, 19:20:23 UTC
- Source record
- Official CVE record