Skip to main content

Pgedge Postgres Mcp

7 CVEs product

Monthly

CVE-2026-126197 Nov 12, 17:29 HIGH PATCH This Week

SQL injection in pgEdge Postgres MCP Server 1.0.0 and earlier lets an authenticated, low-privilege caller who can invoke a custom `pl-do` tool execute arbitrary SQL as the connecting database role, including statements that escape the server's read-only guard. The flaw arises because JSON-encoded tool arguments were interpolated into a `DO` block bounded by fixed dollar-quote tags (`$mcp_custom_tool$`, and `$mcp_args$` for plpgsql), and because the statement ran over the PostgreSQL simple query protocol, so injected text could contain extra statements and transaction control. Only deployments that define at least one `pl-do` custom tool are exposed (`sql` and `pl-func` tools pass bind parameters and are not a vector); no public exploit code and no active exploitation are identified in the available sources, and a vendor patch is available in 1.1.0.

SQLi PostgreSQL Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
8.8
EPSS
0.4%
CVE-2026-126196 Nov 12, 17:27 HIGH PATCH This Week

Read-only mode in pgEdge Postgres MCP Server 1.0.0 and earlier can be bypassed through the query_database tool, allowing an authenticated caller holding a write-privileged database role to create, alter, or drop objects despite the documented read_only safety boundary. The bypass chains prefix-only read detection, execution of unrecognized statements via pgx Exec without bind parameters (which selects the PostgreSQL simple query protocol and accepts multiple semicolon-separated statements), and pooled session state that can retain a cleared default_transaction_read_only. Integrity and availability impact is High while confidentiality is unaffected because the connection already permits reads; no public exploit code was identified at time of analysis, although pgEdge engineering demonstrated the bypass internally against a throwaway PostgreSQL 17.10 instance.

SQLi PostgreSQL Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
8.1
EPSS
0.4%
CVE-2026-126199 Nov 12, 17:32 MEDIUM PATCH This Month

Client-side write confirmation bypass in pgEdge Postgres MCP Server 1.0.0 and earlier: the bundled CLI and web clients decided whether to prompt by looking only at a statement's first keyword, so statements beginning with SELECT, WITH or EXPLAIN were shown as reads even when they created a table (SELECT ... INTO), carried a data-modifying CTE, or used EXPLAIN ANALYZE to actually execute a write. An attacker who can influence what the model is asked to run - for example through instructions planted in retrieved content - could get an INSERT, UPDATE or DELETE executed without the operator being asked for confirmation, but only if the deployment has allow_writes:true on that connection, the connecting PostgreSQL role really holds write privileges, and the operator uses the bundled clients and treats the prompt as a control. Read-only connections are unaffected because the server's transaction access mode refuses the write; this is a client-side convenience prompt, not a server security boundary, and the independent assessment rates it moderate and conditional (CVSS 6.8, UI:R, AC:H) rather than urgent. No public exploit code or active exploitation is indicated; the fix is in 1.1.0.

Information Disclosure PostgreSQL Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
6.8
EPSS
0.2%
CVE-2026-126198 Nov 12, 17:31 LOW PATCH Monitor

pgEdge Postgres MCP Server 1.0.0 and earlier ship bundled CLI and web clients that decide whether to ask the user for confirmation by matching the tool name query_database instead of reading the MCP readOnlyHint/destructiveHint annotations the server publishes, so write-capable custom tools (any pl-do or pl-func tool, or a sql tool whose statement modifies data) run without a prompt on allow_writes:true connections. The realistic consequence is an unapproved write the operator never saw - for example when a model follows instructions planted in retrieved database content - but only for writes the operator themselves defined in their own custom tools; built-in read-only tools and ordinary query_database reads are unaffected, and third-party MCP clients never inherited this prompt. Fixed in 1.1.0; no public exploit code identified at time of analysis, and the aggregated priority signal is monitor.

PostgreSQL Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
3.1
EPSS
0.3%
CVE-2026-125322 Nov 10, 17:39 MEDIUM PATCH This Month

SQL injection in the where parameter of the count_rows tool in pgEdge Postgres MCP Server 1.0.0 and earlier (including all alpha and beta pre-releases) lets a caller embed a subquery that references a different table and then use the returned row count as a boolean or error-based blind inference oracle to extract that table's contents. The database privilege boundary is not crossed - only tables the connecting PostgreSQL role can already SELECT are reachable - but any deployment whose connecting role reads more than it intends to expose leaks data at high confidentiality impact (CVSS 6.5, network-reachable, PR:L, no integrity or availability effect). Version 1.1.0 rejects subqueries in the where clause; no public exploit identified at time of analysis.

SQLi PostgreSQL Oracle Pgedge Postgres Mcp
NVD GitHub VulDB
CVSS 3.1
6.5
EPSS
0.3%
CVE-2026-125321 Nov 10, 17:36 MEDIUM PATCH This Month

Login rate limiting in pgEdge Postgres MCP Server 1.0.0 and earlier - including all alpha and beta pre-releases - can be evaded or turned against another user by an unauthenticated caller reaching the login endpoint, because throttling is keyed on the leftmost caller-supplied X-Forwarded-For value rather than the network connection. Rotating the header on each attempt means the per-address limit is never reached, while asserting a victim's address consumes that user's limiter bucket and blocks their logins for the window; impact stays at availability only because account lockout is a separate username-keyed control that shipped disabled (MaxFailedAttemptsBeforeLockout: 0). Exposure requires the non-default HTTP transport to be enabled with authentication on, but the project's own published nginx example appended to X-Forwarded-For instead of replacing it, so no operator misconfiguration was needed. Vendor-released patch: 1.1.0; no public exploit identified at time of analysis.

Denial Of Service PostgreSQL Nginx Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
6.5
EPSS
0.5%
CVE-2026-125320 Nov 10, 17:23 MEDIUM PATCH This Month

DNS rebinding exposure in pgEdge Postgres MCP Server 1.0.0 and earlier lets a web page the user is merely visiting drive a locally running server and read back the schemas and query results of every database that server is configured to reach. The HTTP transport never validated the Origin header, so an attacker who points a domain they control at 127.0.0.1 is treated by the browser as same-origin with the local server and can read its responses; no credential is needed because the request originates from the victim's own machine. Exploitation is conditional - the non-default HTTP transport must be enabled on a machine that also runs a browser, the victim must visit the attacker's page (UI:R), and rebinding infrastructure must be stood up (AC:H) - and no public exploit identified at time of analysis; the vendor shipped the complete fix in 1.1.0.

Information Disclosure PostgreSQL Pgedge Postgres Mcp
NVD GitHub
CVSS 3.1
5.3
EPSS
0.1%
EPSS 0% CVSS 8.8
HIGH PATCH This Week

SQL injection in pgEdge Postgres MCP Server 1.0.0 and earlier lets an authenticated, low-privilege caller who can invoke a custom `pl-do` tool execute arbitrary SQL as the connecting database role, including statements that escape the server's read-only guard. The flaw arises because JSON-encoded tool arguments were interpolated into a `DO` block bounded by fixed dollar-quote tags (`$mcp_custom_tool$`, and `$mcp_args$` for plpgsql), and because the statement ran over the PostgreSQL simple query protocol, so injected text could contain extra statements and transaction control. Only deployments that define at least one `pl-do` custom tool are exposed (`sql` and `pl-func` tools pass bind parameters and are not a vector); no public exploit code and no active exploitation are identified in the available sources, and a vendor patch is available in 1.1.0.

SQLi PostgreSQL Pgedge Postgres Mcp
NVD GitHub
EPSS 0% CVSS 8.1
HIGH PATCH This Week

Read-only mode in pgEdge Postgres MCP Server 1.0.0 and earlier can be bypassed through the query_database tool, allowing an authenticated caller holding a write-privileged database role to create, alter, or drop objects despite the documented read_only safety boundary. The bypass chains prefix-only read detection, execution of unrecognized statements via pgx Exec without bind parameters (which selects the PostgreSQL simple query protocol and accepts multiple semicolon-separated statements), and pooled session state that can retain a cleared default_transaction_read_only. Integrity and availability impact is High while confidentiality is unaffected because the connection already permits reads; no public exploit code was identified at time of analysis, although pgEdge engineering demonstrated the bypass internally against a throwaway PostgreSQL 17.10 instance.

SQLi PostgreSQL Pgedge Postgres Mcp
NVD GitHub
EPSS 0% CVSS 6.8
MEDIUM PATCH This Month

Client-side write confirmation bypass in pgEdge Postgres MCP Server 1.0.0 and earlier: the bundled CLI and web clients decided whether to prompt by looking only at a statement's first keyword, so statements beginning with SELECT, WITH or EXPLAIN were shown as reads even when they created a table (SELECT ... INTO), carried a data-modifying CTE, or used EXPLAIN ANALYZE to actually execute a write. An attacker who can influence what the model is asked to run - for example through instructions planted in retrieved content - could get an INSERT, UPDATE or DELETE executed without the operator being asked for confirmation, but only if the deployment has allow_writes:true on that connection, the connecting PostgreSQL role really holds write privileges, and the operator uses the bundled clients and treats the prompt as a control. Read-only connections are unaffected because the server's transaction access mode refuses the write; this is a client-side convenience prompt, not a server security boundary, and the independent assessment rates it moderate and conditional (CVSS 6.8, UI:R, AC:H) rather than urgent. No public exploit code or active exploitation is indicated; the fix is in 1.1.0.

Information Disclosure PostgreSQL Pgedge Postgres Mcp
NVD GitHub
EPSS 0% CVSS 3.1
LOW PATCH Monitor

pgEdge Postgres MCP Server 1.0.0 and earlier ship bundled CLI and web clients that decide whether to ask the user for confirmation by matching the tool name query_database instead of reading the MCP readOnlyHint/destructiveHint annotations the server publishes, so write-capable custom tools (any pl-do or pl-func tool, or a sql tool whose statement modifies data) run without a prompt on allow_writes:true connections. The realistic consequence is an unapproved write the operator never saw - for example when a model follows instructions planted in retrieved database content - but only for writes the operator themselves defined in their own custom tools; built-in read-only tools and ordinary query_database reads are unaffected, and third-party MCP clients never inherited this prompt. Fixed in 1.1.0; no public exploit code identified at time of analysis, and the aggregated priority signal is monitor.

PostgreSQL Pgedge Postgres Mcp
NVD GitHub
EPSS 0% CVSS 6.5
MEDIUM PATCH This Month

SQL injection in the where parameter of the count_rows tool in pgEdge Postgres MCP Server 1.0.0 and earlier (including all alpha and beta pre-releases) lets a caller embed a subquery that references a different table and then use the returned row count as a boolean or error-based blind inference oracle to extract that table's contents. The database privilege boundary is not crossed - only tables the connecting PostgreSQL role can already SELECT are reachable - but any deployment whose connecting role reads more than it intends to expose leaks data at high confidentiality impact (CVSS 6.5, network-reachable, PR:L, no integrity or availability effect). Version 1.1.0 rejects subqueries in the where clause; no public exploit identified at time of analysis.

SQLi PostgreSQL Oracle +1
NVD GitHub VulDB
EPSS 0% CVSS 6.5
MEDIUM PATCH This Month

Login rate limiting in pgEdge Postgres MCP Server 1.0.0 and earlier - including all alpha and beta pre-releases - can be evaded or turned against another user by an unauthenticated caller reaching the login endpoint, because throttling is keyed on the leftmost caller-supplied X-Forwarded-For value rather than the network connection. Rotating the header on each attempt means the per-address limit is never reached, while asserting a victim's address consumes that user's limiter bucket and blocks their logins for the window; impact stays at availability only because account lockout is a separate username-keyed control that shipped disabled (MaxFailedAttemptsBeforeLockout: 0). Exposure requires the non-default HTTP transport to be enabled with authentication on, but the project's own published nginx example appended to X-Forwarded-For instead of replacing it, so no operator misconfiguration was needed. Vendor-released patch: 1.1.0; no public exploit identified at time of analysis.

Denial Of Service PostgreSQL Nginx +1
NVD GitHub
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

DNS rebinding exposure in pgEdge Postgres MCP Server 1.0.0 and earlier lets a web page the user is merely visiting drive a locally running server and read back the schemas and query results of every database that server is configured to reach. The HTTP transport never validated the Origin header, so an attacker who points a domain they control at 127.0.0.1 is treated by the browser as same-origin with the local server and can read its responses; no credential is needed because the request originates from the victim's own machine. Exploitation is conditional - the non-default HTTP transport must be enabled on a machine that also runs a browser, the victim must visit the attacker's page (UI:R), and rebinding infrastructure must be stood up (AC:H) - and no public exploit identified at time of analysis; the vendor shipped the complete fix in 1.1.0.

Information Disclosure PostgreSQL Pgedge Postgres Mcp
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy