CVE-2026-54630
Last modified
CVE-2026-54630 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Part-DB | Part-DB-server | < 2.12.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54630?
How severe is CVE-2026-54630?
How do I fix CVE-2026-54630?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54625django CMS is a content management system powered by Django.…4.8
- CVE-2026-54626SAIL is a cross-platform library for loading and saving imag…9.8
- CVE-2026-54627SAIL is a cross-platform library for loading and saving imag…9.8
- CVE-2026-54628Anyquery is an SQL query engine built on top of SQLite. Prio…8.6
- CVE-2026-54629Anyquery is an SQL query engine built on top of SQLite. Prio…7.5
- CVE-2026-5463Command injection vulnerability in console.run_module_with_o…9.8
- CVE-2026-54631Part-DB is an open source inventory management system for el…6.3
- CVE-2026-54632SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NE…7.5
- CVE-2026-54633PoDoFo is a C++17 PDF manipulation library. From version 1.0…6.9
- CVE-2026-54634Hamlib is a ham radio control library for radios, rotators, …7.3
- CVE-2026-54635pytonapi is a Python SDK for TONAPI that provides REST API, …7.5
- CVE-2026-54636Dokku is a docker-powered PaaS. Prior to 0.38.7, the cron pl…9.9
Are you affected by CVE-2026-54630?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
