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

CVE-2026-61781

Matched(該当) 説明文のみで一致 公開 2026-09-19 04:44 ・ 更新 2026-09-19 05:16

判定

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

解説

概要
pg_partman の create_partition_time() が、設定値 time_encoder を識別子として適切に引用せず動的 SQL に挿入するため、SQL インジェクションが発生します。
影響
必要な権限を持つロールが悪用すると、バックグラウンドワーカーの権限でデータベース全体を侵害し、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:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2026-09-19 04:44

攻撃能力(AI 判定)

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

根拠

  • RCE ・ CNA の説明文
    successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account.
  • 認証回避 ・ CNA の説明文
    A role with the documented partman_user INSERT and UPDATE privileges can store SQL rather than a function name.
  • シェル取得 ・ CNA の説明文
    successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account.

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

一致した監視対象製品

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

    pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, create_partition_time() reads the writable part_config.time_encoder text value and interpolates it without identifier quoting into a dynamically executed SELECT statement. A role with the documented partman_user INSERT and UPDATE privileges can store SQL rather than a function name. When pg_partman_bgw later creates a child partition for a text- or UUID-keyed set, the worker executes the stored SQL with pg_partman_bgw.role privileges, which default to PostgreSQL superuser. The persistent configuration row can repeatedly restore elevated access on later maintenance ticks, and successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account. This issue is fixed in version 5.5.0.

変更履歴

  1. 2026-09-19 05:16
    • Matched(該当) と判定した
    → Matched(該当)