脆弱性ウォッチ

新着 / 2026年11月27日 / CVE-2026-119071

W3 Total Cacheのファイル削除の脆弱性

重要 8.1

掲載

何が問題か

WordPress用プラグイン「W3 Total Cache」の2.11.0以前のバージョンには、ajax_revert()のAJAXハンドラを経由して認可されていないファイル削除が可能な脆弱性があります。remove_optimizations()関数が、保護されていないw3tc_imageserviceのpost metaの値を検証せずにwp_delete_attachment()に渡しているため、投稿編集権限を持つ利用者が、他の利用者の所有するメディアも削除できる状態になっています。修正版の提供状況は公表されていません。

悪用されると

Author権限以上の認証済み攻撃者が、メディアライブラリ内の任意の添付ファイルを、所有者に関係なく永久に削除し、ディスク上の関連ファイルも削除される可能性があります。

取るべき対応

W3 Total Cacheを使用している場合は、プラグインの提供元から修正版が公開され次第、速やかに更新してください。公開されるまでは、Author権限以上のアカウントを必要最小限に限定することを検討してください。

AIが出典から要約し、数値を機械照合しています。

更新履歴

  1. 初回掲載。

指標

深刻度(CVSS v3.1)重要 8.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
実際の攻撃での悪用CISA KEVには未掲載
問題の種類CWE-22
CVE公開日2026-11-27

出典

公式の説明(英語の原文)

The W3 Total Cache plugin for WordPress is vulnerable to unauthorized File Deletion in all versions up to, and including, 2.11.0 via the `ajax_revert()` AJAX handler. The vulnerability exists because the `remove_optimizations()` function reads attacker-controlled values from the unprotected `w3tc_imageservice` post meta key — which carries no underscore prefix and no registered authorization callback, making it writable by any user with `edit_post` capability via WordPress's built-in custom-fields AJAX endpoint — and passes those values directly to `wp_delete_attachment()` with no check that the referenced ID is a child of the caller's own post, is an actual attachment, or that the caller holds `delete_post` capability on it. This makes it possible for authenticated attackers with Author-level access or above to permanently delete any WordPress attachment in the media library, including media files owned by other users along with their associated files on disk, regardless of ownership — a capability not available through the normal WordPress interface. The revert nonce is exposed via `wp_localize_script` on `/wp-admin/upload.php` to any user with `upload_files` capability, ensuring the nonce check that is present does not serve as a meaningful barrier to Author-level exploitation.