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

株式会社WR

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

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

警告 CVSS 4.4 Laravel CVE-2026-54179 公表 2026年8月31日

backpack/crudに画像アップロードの不備

Laravel — CVE-2026-54179

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

どんな問題か

backpack/crudで、画像として送られた内容の確認が足りません。見かけは画像でも中身は別のファイルを保存できてしまい、後で表示されたときに問題が起きます。

放置するとどうなるか

保存した内容が不正に動き、画面の改ざんや情報の盗み取りにつながる可能性があります。管理画面の信頼性も下がります。

今すぐやること

7.0.38または6.8.14へ更新してください。画像アップロード機能を使っている管理画面は、利用者権限も見直しましょう。必要なら保守会社に動作確認を依頼してください。

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

  1. お使いのサーバー・プログラムに Laravel が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「6.0.0〜6.8.14、7.0.37」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data URI beginning with data:image without validating the declared MIME subtype or decoded bytes, while src/app/Library/Uploaders/Support/FileNameGenerator.php method FileNameGenerator::getExtensionFromFile applies mime_content_type() to the data URI instead of the decoded content. An authenticated administrator can therefore store arbitrary file content under an extensionless filename on the configured disk, which can cause stored cross-site scripting or other unintended behavior when the file is served and accessed. This issue is fixed in version 7.0.38 and 6.8.14.

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

無料で相談する →