Skip to content
High 8.1

pgEdge Postgres MCP Serverで読み取り専用モードを回避され、データを書き換えられる脆弱性

CVE-2026-126196 First seen on SecPulse

Summary

pgEdge Postgres MCP Serverの1.1.0より前のバージョンでは、読み取り専用の接続でもSQL文を連ねて送ることで書き込みを行えるため、データの改ざんや可用性の低下につながるおそれがあります。読み取り専用を安全の境界としている環境では、接続先の権限に書き込み権限があると影響を受けます。修正版は1.1.0で、早めの更新をおすすめします。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

pgEdge Postgres MCP Serverの1.1.0より前のバージョンでは、読み取り専用の接続でもSQL文を連ねて送ることで書き込みを行えるため、データの改ざんや可用性の低下につながるおそれがあります。読み取り専用を安全の境界としている環境では、接続先の権限に書き込み権限があると影響を受けます。修正版は1.1.0で、早めの更新をおすすめします。

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details