Vuln Watch 利用製品に関係する脆弱性
← 一覧

CVE-2026-61820

Matched(該当) 説明文のみで一致 公開 2026-09-19 04:49 ・ 更新 2026-09-23 00:39

判定

現在の判定
Matched(該当)
攻撃条件
満たさない(AV・PR・UI がすべて N か)
攻撃能力
満たす(RCE・認証回避・シェル取得・root 取得のいずれか)
根拠
AV:N / PR:L / UI:N(CNA・CVSS 3.1) / RCE / シェル取得

解説

概要
pg_partman が列名中の二重引用符を適切にエスケープせず、生成 SQL の識別子を抜け出せることによる SQL インジェクションです。
影響
テンプレートテーブルを所有する partman_user が細工した列名を作成すると、バックグラウンドワーカーの権限で SQL が実行されます。既定では PostgreSQL スーパーユーザー権限となり、データベース全体の侵害や PostgreSQL サービスアカウントとしての OS コマンド実行が可能です。
対象
pg_partman 5.5.0 未満。
対策
pg_partman 5.5.0 に修正されています。
判定
AV:N / PR:L / UI:N(CNA・CVSS 3.1) / RCE / シェル取得
出典

CVSS 評価

出所版AV / PR / UIベクトル出所側の更新日時
CNA(採用) 3.1 AV:N / PR:L / UI:N CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H 2026-09-19 04:49

攻撃能力(AI 判定)

RCE 該当
認証回避 非該当
シェル取得 該当
root 取得 不明

根拠

  • RCE ・ CNA の説明文
    permitting database-wide compromise and operating-system command execution as the PostgreSQL service account.
  • 認証回避 ・ CNA の説明文
    A partman_user who owns a template table can create a crafted column name
  • シェル取得 ・ CNA の説明文
    operating-system command execution as the PostgreSQL service account.

モデル gpt-6-luna ・ プロンプト 2026-10-10 ・ 2026-10-13 05:55 ・ 入力 SHA-256 c7f9a4ec0737

一致した監視対象製品

  • PostgreSQL — 説明文で一致 (AI の判定: 影響を受けるか 非該当)

    pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, inherit_template_properties() manually surrounds primary-key column names from pg_attribute.attname with double quotes without escaping embedded double-quote characters. A partman_user who owns a template table can create a crafted column name that breaks out of the generated ALTER TABLE ADD PRIMARY KEY identifier when the background worker applies the key to a child partition. The generated SQL then executes with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, permitting database-wide compromise and operating-system command execution as the PostgreSQL service account. The crafted catalog identifier persists until removed and can trigger again during later partition creation. This issue is fixed in version 5.5.0.

変更履歴

  1. 2026-09-23 00:39
    • Matched(該当) と判定した
    → Matched(該当)