Remote Code Execution in ClipBucket via Unrestricted File Upload
Authenticated users can exploit a file upload vulnerability in ClipBucket v5 before 5.5.3-#182 to achieve remote code execution by bypassing MIME validation.
CVE search metadata
CVE search record: CVE-2026-77929. Severity: high. CVSS: 8.8. KEV: no. Product: ClipBucket (< 5.5.3-#182), ClipBucket (< 5.5.3-#197), ClipBucket (v5 through 5.5.3-#197). Brief: Remote Code Execution in ClipBucket via Unrestricted File Upload. Brief link: https://feed.craftedsignal.io/briefs/2026-09-clipbucket-rce/
Triage facts
- Applicability
- ClipBucket (< 5.5.3-#182), ClipBucket (< 5.5.3-#197) +1
- Severity
- High
- Action
- Immediate escalation
- Sources
- 4 public sources
- Freshness
- UpdatedOct 2, 00:20 UTC
- Detection
- 3 rules
- Vulnerabilities
- 1 CVE
What's new
- 1. added detection rule: Detect CVE-2026-103766 Exploitation - SQL Injection in Ads Manager Oct 2, 00:20 via nvd
- 2. added coverage for ClipBucket (< 5.5.3-#197) Sep 25, 20:55 via nvd
- 3. added detection rule: Detects CVE-2026-96272 Exploitation - Blind SQL Injection in Photo Search Sep 23, 02:40 via nvd
ClipBucket v5 versions prior to 5.5.3-#182 are susceptible to a critical remote code execution (RCE) vulnerability. The flaw exists within the FileUpload::manageFile() function located in fileupload.class.php. Attackers with valid application accounts can bypass the existing MIME type validation by crafting a malicious PHP payload that includes valid image magic bytes. Because the application logic fails to correctly enforce or update the file extension during the processing phase, the server saves the attacker-supplied file with a .php extension to the web-accessible filesystem. Once uploaded, an attacker can trigger the execution of this file via PHP-FPM by navigating to the file path, resulting in arbitrary code execution on the underlying host. This vulnerability represents a significant risk for organizations running ClipBucket in internet-facing configurations, as it allows full system compromise upon successful authentication and upload.
Attack Chain
- Attacker authenticates to the ClipBucket application as a registered user.
- Attacker crafts a PHP payload disguised as an image by prepending valid image magic bytes to the file content.
- Attacker initiates a photo upload request to the application's photo upload endpoint.
- The application triggers FileUpload::manageFile() to validate the uploaded file's MIME type.
- The validation logic is bypassed by the presence of the legitimate image magic bytes.
- The application writes the malicious file to the storage directory, failing to sanitize or overwrite the .php extension.
- Attacker identifies the storage path of the uploaded file via the application response or web directory enumeration.
- Attacker sends an HTTP request to the uploaded file's URL, causing the web server to execute the PHP code via PHP-FPM.
Impact
Successful exploitation of this vulnerability allows an authenticated attacker to execute arbitrary code on the web server with the privileges of the web service account. This could lead to full system compromise, data theft, further lateral movement within the network, or the installation of persistent backdoors. Targeted entities include any organization hosting video content platforms using vulnerable versions of ClipBucket.
Recommendation
Prioritized actions for defense and remediation:
- Patch ClipBucket to version 5.5.3-#182 or later immediately to resolve the logic error in FileUpload::manageFile().
- Inspect web server access logs for repeated HTTP 200 responses to files with extensions like .php residing in typical user-upload directories.
- Implement strict file extension whitelisting on all web application upload endpoints to ensure only non-executable formats are processed.
- Configure the web server and PHP-FPM to prevent script execution within directories intended for user-provided static content (e.g., /uploads/).
- Deploy web application firewall (WAF) rules to detect and block file upload requests containing suspicious PHP code sequences within image-based MIME payloads.
Immediate actions
Patch all instances of ClipBucket to 5.5.3-#182 or later
Mitigations
Disable PHP execution in the uploads directory
CVE-2026-77929
Detection coverage 3
Detect CVE-2026-77929 Exploitation - Suspicious File Upload
highDetects potential exploitation attempts of CVE-2026-77929 by monitoring for PHP files being accessed within the upload directory structure.
Detects CVE-2026-96272 Exploitation - Blind SQL Injection in Photo Search
highDetects potential blind SQL injection attempts by identifying time-delay or boolean-based SQL keywords in the query parameter of the photo search endpoint.
Detect CVE-2026-103766 Exploitation - SQL Injection in Ads Manager
highDetects potential time-based blind SQL injection attempts by identifying SQL-specific characters or time-delay functions in the 'delete' parameter of the Ads Manager component.
Detection queries are available on the platform. Get full rules →