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

株式会社WR

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

ホーム›脆弱性情報›Laravel›CVE-2026-54178

重要 CVSS 8.1 Laravel CVE-2026-54178 公表 2026年9月14日

Laravel用Backpack CRUDにファイル削除の脆弱性

Laravel — CVE-2026-54178

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

どんな問題か

Backpack CRUDの古い版では、更新できる利用者が「消すファイル名」を細工して送ると、本来その記録に属さない別ファイルまで削除できる問題があります。ファイルの中身を読むことはできませんが、共有ファイルや運用ファイルが消えるおそれがあります。

放置するとどうなるか

画像や添付ファイルが消され、サイトの表示や業務に支障が出るおそれがあります。共有資産や重要ファイルが失われる可能性があります。

今すぐやること

6.8.12以上または7.0.35以上へ更新してください。5.x系を使っている場合も、提供元の案内に従い更新や移行を検討してください。

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

  1. お使いのサーバー・プログラムに Laravel が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「Prior to 6.8.12 and 7.0.35, 5.x line remains affected through its final releases.」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. Prior to 6.8.12 and 7.0.35, HasUploadFields::uploadMultipleFilesToDisk in src/app/Models/Traits/HasUploadFields.php trusts disk-relative paths from clear_<attribute>[] and passes them to Storage::disk()->delete without confirming that the paths are persisted on the current model record. An authenticated user with Update access to a CRUD using this mutator through src/app/Models/Traits/CrudTrait.php can delete another record's attachment, a shared asset, or another operational file on the configured disk by submitting its path. The newer MultipleFiles uploader is not affected because it intersects requested deletions with the record's persisted file list. This flaw does not permit reading the deleted files. The 5.x line remains affected through its final releases. This issue is fixed in versions 6.8.12 and 7.0.35.

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

無料で相談する →