本文へ移動

#CVE-2026-116241

脆弱性の一覧へ戻る

編集部の見出し:pgAdmin 4:Import/Export Data 経由の OS コマンド実行

CVE(NVD)CVSS 9.4 Critical

NVD の情報

pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO command and checks that the query's parentheses are balanced so that nothing can escape the wrapper. The check rejected a backslash inside a single-quoted string, but not inside a double-quoted identifier, where it treated the next double quote as closing the identifier. psql's \copy parser applies the connection's escape character to whichever quote opened a token, so with standard_conforming_strings off a backslash-escaped double quote does not close the identifier. pgAdmin's and psql's view of the quoting then diverged, a closing parenthesis hidden from the check ended the \copy (...) wrapper, and a following TO PROGRAM clause was executed by psql on the pgAdmin host, as the operating-system account running pgAdmin, before the server rejected the statement. An ordinary database role can turn standard_conforming_strings off for itself, and the Import/Export Data permission is granted to non-administrators by default. This is a bypass of the fix for CVE-2026-17566. The fix rejects any backslash inside a double-quoted identifier, as was already done for single-quoted strings, since its meaning depends on a server setting that cannot be known reliably when the query is validated. This issue affects pgAdmin 4: before 9.19.

公開日
2026-10-30
最終更新(NVD)
2026-10-30
NVD の状態
Received
脆弱性の種類
CWE-115、CWE-78

深刻度(CVSS)

  • 9.4 CriticalCVSS 4.0/副/評価:f86ef6dc-4d3a-42ad-8f28-e6d5547a5007CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • 9.9 CriticalCVSS 3.1/副/評価:f86ef6dc-4d3a-42ad-8f28-e6d5547a5007CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

解消方法

  • pgAdmin 4 のバージョンアップ9.19 以降根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-10-31 のレポートpgAdmin 4:Import/Export Data 経由の OS コマンド実行

pgAdmin 4 の 9.19 未満で15件。公式リリースノートで 9.19 の修正を確認。

公告に記載の修正版

参照(NVD)

NVD から取得:2026-10-31T04:40:34.422Z

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。