WR 株式会社WR 松戸のホームページ制作・社内システム・IT相談

株式会社WR

千葉県松戸市
松戸・柏・市川・流山・船橋 対応

ホーム›脆弱性情報›PostgreSQL›CVE-2026-61818

重要 CVSS 8.5 PostgreSQL CVE-2026-61818 公表 2026年9月18日

PostgreSQLのpg_partmanにSQL実行の脆弱性

PostgreSQL — CVE-2026-61818

自分のサイトが該当するか無料診断 → 原文を見る(NVD(米国 脆弱性データベース))↗

どんな問題か

pg_partmanの一部の処理で、設定に入った文字列をそのままSQLとして使ってしまう問題があります。権限を持つ利用者が細工した値を入れると、後からそのSQLが実行されるおそれがあります。

放置するとどうなるか

不正な操作をされると、データの閲覧・改ざん・削除につながります。状況によっては、サーバー上で想定外の処理が動くおそれもあります。

今すぐやること

5.5.0 へ更新してください。partman_user 権限のある利用者に設定変更を許していないか確認し、不要な権限は外してください。

自分のサイトが該当するかの確認手順

  1. お使いのサーバー・プログラムに PostgreSQL が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「5.5.0 より前の版」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, undo_partition() reads part_config.time_encoder as unrestricted text and interpolates it without identifier quoting into a dynamically executed SELECT statement. A role with partman_user access can store SQL rather than a function name, and the SQL executes with the privileges of the caller that invokes undo_partition(). The function is not part of the default background-worker path, which limits the automatic superuser escalation described by the related create-partition vulnerability, but a privileged caller can still have its available confidentiality, integrity, and availability permissions abused. This issue is fixed in version 5.5.0.

※ 解説は NVD(米国 脆弱性データベース) の公表内容をもとにAIが生成しています。対象バージョン・修正版などの正確な情報は、必ず原文をご確認ください。

無料で相談する →