CVSS 9.1 CRITICAL 未ログインで悪用可能
| 対象 | プラグイン Ninja Forms (Ninja Forms - File Uploads) |
|---|---|
| 影響バージョン | 3.3.36 以下 |
| 修正版 | 3.3.37 |
| CVE | CVE-2026-126537 |
| 種類 | 任意ファイル操作(Improper Limitation of a Pathname to a Restricted Directory) |
| 公表 | 2026年11月11日 当サイト掲載: 2026年11月11日 09:14 |
何が起きるか
Ninja Formsのファイルアップロード拡張(3.3.36以前)に、ログイン不要でサーバー上の任意のファイルを削除・外部へ持ち出される恐れがある脆弱性があります。設定ファイルが削除されるとサイト全体を乗っ取られる危険があります。
想定される被害と条件
- 公開フォームが設置されていれば、ログインしていない第三者がサーバー上の任意のファイルを削除できる
- wp-config.phpが削除されるとWordPressが初期設定画面に戻り、第三者にサイトを乗っ取られる可能性がある
- S3・Dropbox・Google Drive連携を使っている場合、サーバー内の機密ファイル(設定ファイル等)が外部ストレージ経由で持ち出される恐れがある
- 重要ファイルの削除によりサイトが表示されなくなるなど、サービス停止が起きる
今日やること
Ninja Forms - File Uploads を 3.3.37 以上に今すぐ更新し、更新できない場合はアドオンの停止・削除を検討してください。
すぐに更新できない場合
すぐに更新できない場合は、File Uploads アドオンを無効化するか、ファイルアップロード項目を含むフォームを非公開にしてください。WAFで該当フォームへの不審な送信を遮断することも有効です。
更新後に確認すること
- サイトにアクセスしてWordPressの初期設定(インストール)画面が表示されないか、wp-config.phpがサーバー上に存在するかを確認する
- 管理画面の「ユーザー」に見覚えのない管理者アカウントが追加されていないか確認する
- サーバーやバックアップと比較し、プラグイン・テーマ・設定ファイルなどが消えていないか確認する
- 外部ストレージ(S3・Dropbox・Google Drive)連携先に、フォーム送信と関係ない不審なファイル(設定ファイル等)がアップロードされていないか確認し、あればデータベースのパスワードや認証キーを変更する
不審な投稿・ユーザー・ファイルが見つかった場合は、専門家への相談をおすすめします。
この脆弱性を共有する このプラグインを使っている方や、サイトの管理を任せている制作会社にも。
原文(Wordfence Intelligence)
The Ninja Forms – File Uploads add-on for WordPress is vulnerable to Arbitrary File Deletion (and arbitrary file read via S3/Dropbox/Google Drive exfiltration) in versions up to, and including, 3.3.36. The flaw spans NF_FU_Fields_Upload::process() in includes/fields/upload.php — which returns early (leaving the client-supplied files[] intact) whenever a public submission carries a nonempty extra.saveProgress — and NF_FU_External_Abstracts_Service::process_upload() in includes/external/abstracts/service.php, whose authoritative-path reload only fires when the client sends upload_id. By omitting upload_id, an attacker’s data[file_path] survives into the Background Upload queue and is used by both upload_file_to_s3() (as SourceFile) and the maybe_delete_server_file() unlink() call in includes/external/abstracts/backgroundupload.php, with no canonicalization or upload-directory containment check (the plugin’s own is_path_within_upload_dir() helper is only applied on admin paths). This makes it possible for unauthenticated attackers to delete arbitrary files on the affected site’s server which may make remote code execution possible — specifically, deleting wp-config.php forces WordPress into its setup screen, enabling full site takeover.
参考リンク
脆弱性情報の出典と著作権
脆弱性情報の出典: Wordfence Intelligence のレコード。Copyright 2012-2026 Defiant Inc. License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more.
CVE: Copyright 1999-2026 The MITRE Corporation. CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Terms of Use.
本ページの作成について: 上記の出典データをもとに、「何が起きるか」「今日やること」「更新後に確認すること」などの日本語解説は生成 AI が作成し、サイトの主治医が随時確認しています。誤りに気づかれた場合はお問い合わせください。
最近公表された深刻度の高い脆弱性
- WordPressプラグイン「Add-on Brevo for Gravity Forms」にバックドア混入の脆弱性(CVE-2026-135202) 2026/11/24
- WordPressプラグイン「Orphans」にクロスサイトスクリプティングの脆弱性(CVE-2026-124216) 2026/11/21
- WordPressプラグイン「ElasticPress」にクロスサイトスクリプティングの脆弱性(CVE-2026-116518) 2026/11/21
- WordPressプラグイン「Accept Stripe Payments」にXSSの脆弱性(CVE-2026-130323) 2026/11/21
- WordPressプラグイン「AutomatorWP」に格納型XSSの脆弱性(CVE-2026-120736) 2026/11/21
