CVE-2026-54630

Part-DB: Authenticated RCE via .phar attachment upload served from public/media

P1 CVSS最高 9.6 EPSS 0.2%

優先度の判定理由: CVSSスコアが深刻 出典: CVE公式(CVE List)・NVD・EPSS

公式ソースで確認された事実(機械抽出)

公式説明(原文・英語) Part-DB is an open source inventory management system for electronic components. Prior to version 2.12.1, the part attachment upload handler stores uploaded files under the web-served media directory using the client-supplied file extension, and its extension blocklist does not include phar. AttachmentSubmitHandler::renameBlacklistedExtensions() rewrites dangerous extensions (php, phtml, sh, cgi, py, js, html, htaccess, ...) to .txt, but phar is absent from the list, so a .phar file keeps its extension. Public attachments (the default) are written into public/media/, which is the Apache document root. The shipped Apache configuration routes .phar to PHP-FPM, so the stored file is executed as PHP on request. The per-attachment-type extension filter is empty by default and is not consulted by the upload handler in a way that blocks this, and a non-admin user in the default users group can create an attachment type with no filter and attach files to parts. Any authenticated user in the default users group uploads a .phar attachment to a part and fetches it under /media/, executing arbitrary PHP as the www-data web user. Ability to exploit depends on the webserver config, docker image contained the vulnerability by default. This issue has been patched in version 2.12.1.
悪用状況 不明
KEV(米CISA既知悪用脆弱性カタログ) 未登録(確認 —)。KEV未掲載は「悪用されていない」ことを意味しません。
CVSS評価 security-advisories-at-github.com CVSS 3.1: 9.6
security-advisories-at-github.com: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS(今後30日以内の悪用確率・FIRST) 0.2%(確認 2026年10月29日 22:43)
修正バージョン 公表なし
公表日 2026年10月23日 12:48
最終更新 2026年10月29日 22:17
最終確認 2026年10月29日 22:26

対象製品・バージョン

製品 影響バージョン 修正バージョン ベンダー修正済み 利用者対応要否
Part-DB Part-DB-server < 2.12.1 — 未告知 未告知

「ベンダー修正済み」と「利用者対応要否」は別の事実として管理しています(ベンダー修正済みでも利用者側の更新が必要です)。

出典・根拠

ソース URL 取得時刻 本文ハッシュ(先頭12桁)
CVE公式(CVE List) cvelist 一次情報を開く 2026年10月29日 22:16 d89ce6396171
NVD nvd 一次情報を開く 2026年10月29日 22:26 23b1bb47aa59
NVD nvd 一次情報を開く 2026年10月29日 22:26 164cbdf57cc5
EPSS epss 一次情報を開く 2026年10月29日 22:43 0c496fd2d7e4

数値・バージョン・日付は原文から機械抽出したものです。取得時刻はJST表記。日本語文面は自動生成であり、公式発表を置き換えるものではありません。

AIによる補助要約

AIによる補助要約は無効化されています(無料運用のため既定ではオフ)。一次情報をご確認ください。