{"id":"CVE-2026-25728","summary":"ClipBucket v5 Affected by Remote Code Execution via Avatar/Background File Upload Race Condition","details":"ClipBucket v5 is an open source video sharing platform. Prior to 5.5.3 - #40, a Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability exists in ClipBucket's avatar and background image upload functionality. The application moves uploaded files to a web-accessible location before validating them, creating a window where an attacker can execute arbitrary PHP code before the file is deleted. The uploaded file was moved to a web-accessible path via move_uploaded_file(), then validated via ValidateImage(). If validation failed, the file was deleted via @unlink(). This vulnerability is fixed in 5.5.3 - #40.","aliases":["GHSA-xq7c-m5r2-9wqj"],"modified":"2026-08-12T03:51:11.988378749Z","published":"2026-02-10T17:12:04.491Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25728.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"\u003c 5.5.3 - #40"},{"last_affected":"\u003c 5.5.3 - #40"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25728.json"},{"type":"ADVISORY","url":"https://github.com/MacWarrior/clipbucket-v5/security/advisories/GHSA-xq7c-m5r2-9wqj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25728"},{"type":"FIX","url":"https://github.com/MacWarrior/clipbucket-v5/commit/09536e6e2ca6d69a2ee83190b588c0b8116dd16d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/macwarrior/clipbucket-v5","events":[{"introduced":"0"},{"fixed":"09536e6e2ca6d69a2ee83190b588c0b8116dd16d"}],"database_specific":{"source":"REFERENCES"}}],"versions":["5.5.3-#10","5.5.2","5.5.2-#187","5.5.2-#182","5.5.2-#164","5.5.2-#163","5.5.2-#162","5.5.2-#152","5.5.2-#147","5.5.2-#140","5.5.2-#138","5.5.2-#135","5.5.2-#133","5.5.2-#129","5.5.2-#123","5.5.2-#120","5.5.2-#117","5.5.2-#114","5.5.2-#106","5.5.2-#103","5.5.2-#98","5.5.2-#90","5.5.2-#86","5.5.2-#82","5.5.2-#74","5.5.2-#69","5.5.2-#58","5.5.2-#45","5.5.2-#38","5.5.2-#25","5.5.2-#4","5.5.1","5.5.0","5.4.1","5.4.0","5.3.1","5.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25728.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}