Description
ClipBucket v5 before 5.5.3-#182 contains a file upload vulnerability that allows authenticated users to achieve remote code execution by uploading a PHP file with valid image magic bytes through the photo upload endpoint. The FileUpload::manageFile() function in fileupload.class.php fails to update the file extension after MIME validation, allowing an attacker-controlled .php extension to persist on disk and execute as PHP via PHP-FPM when the uploaded file is retrieved.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-434 — Unrestricted Upload of File with Dangerous Type
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MacWarrior | clipbucket-v5 | 0 to <5.5.3-#182 |
References
- https://github.com/MacWarrior/clipbucket-v5/releases/tag/5.5.3-%23182 (release-notes)
- https://github.com/MacWarrior/clipbucket-v5/commit/61cce55ab26ef88fb782dfde47b44c17c56978cd (patch)
- https://www.vulncheck.com/advisories/clipbucket-remote-code-execution-via-photo-upload-endpoint (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.