kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-126197 pgEdge Postgres MCP Server SQL injection through custom pl-do tool parameters

설명

pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, custom pl-do tools interpolated JSON arguments into a PostgreSQL DO block delimited by fixed dollar-quote tags. An argument containing $mcp_custom_tool$ could terminate the block and inject arbitrary SQL statements, while $mcp_args$ could inject procedural code into a plpgsql block. Because the statement used the simple query protocol, injected text could include additional statements and transaction control, bypassing read_only and accessing data or modifying resources available to the connecting role. The issue requires at least one pl-do custom tool; sql and pl-func tools pass arguments as bind parameters and are not affected by this injection mechanism. This issue is fixed in 1.1.0.

영향 받는 제품 제품 1개

  • pgEdge

    pgedge-postgres-mcp

    해결 버전 있음

    영향 받는 버전

    • 1.1.0 미만

    해결 버전

    • 1.1.0 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의