OS Command Injection in ClipBucket V5 Installer
ClipBucket V5 versions 5.5.1 through 5.5.3-#153 contain an OS command injection vulnerability in the web installer, allowing unauthenticated remote code execution via the php_cli_filepath parameter.
CVE search metadata
CVE search record: CVE-2026-80138. Severity: critical. CVSS: 9.8. KEV: no. Product: clipbucket-v5. Brief: OS Command Injection in ClipBucket V5 Installer. Brief link: https://feed.craftedsignal.io/briefs/2026-08-clipbucket-rce/
ClipBucket V5 (versions 5.5.1 through 5.5.3-#153) contains a critical OS command injection vulnerability (CVE-2026-80138) within its web-based installation script. The vulnerability resides in the handling of the 'php_cli_filepath' parameter, which is processed by the installer's 'cb_install/functions_install.php' file. Because the application fails to perform adequate validation or sanitization of this user-supplied input before passing it to system-level shell execution functions, an unauthenticated attacker can supply crafted input to execute arbitrary OS commands.
Successful exploitation results in command execution with the privileges of the web server user. This vulnerability is particularly dangerous because it affects the initial setup phase of the application, potentially allowing an attacker to compromise the host before the administrator completes the installation process. Defenders should prioritize auditing web installer access and ensuring that software deployment instances are not exposed to the public internet during the configuration phase.
Attack Chain
- Attacker identifies a target server running an unconfigured or accessible ClipBucket V5 installer.
- Attacker initiates an HTTP POST request to the web installer endpoint (typically located in the /cb_install/ directory).
- Attacker injects shell metacharacters (e.g., ;, |, &&, `) into the 'php_cli_filepath' POST parameter.
- The 'cb_install/functions_install.php' script receives the malicious input without validation.
- The application passes the unsanitized string directly to a system shell execution function.
- The underlying web server process (e.g., www-data, apache, or iis apppool) executes the injected commands.
- Attacker achieves remote code execution to drop a web shell, exfiltrate data, or pivot within the environment.
Impact
Successful exploitation grants an unauthenticated remote attacker full control over the web server process. In a typical web hosting environment, this facilitates unauthorized access to the application source code, configuration files (containing database credentials), and potentially the ability to move laterally into the internal network. Given the critical CVSS 9.8 score, this vulnerability represents a high risk of total system compromise for any organization running affected versions of ClipBucket.
Recommendation
- Immediately restrict public access to the ClipBucket installation directory (/cb_install/) using web server authentication or network-level firewall controls.
- Upgrade to a version of ClipBucket V5 that incorporates the fix provided in commit 36e7c6cfd81f62a091d2aeef96a8fc2fc2d85dc4.
- Audit web server access logs for anomalous POST requests directed at the installer file path, specifically looking for shell-related special characters in the 'php_cli_filepath' parameter.
- Deploy the provided detection rule to monitor for exploitation attempts targeting the identified installer vulnerability.
Immediate actions
Restrict external access to /cb_install/ on all production servers.
Threat Hunt
Search logs for POST /cb_install/ and shell metacharacters in request parameters.
Data: Web access logs
Mitigations
Apply vendor patch 36e7c6cfd81f62a091d2aeef96a8fc2fc2d85dc4.
CVE-2026-80138
Detection coverage 1
Detects CVE-2026-80138 Exploitation - OS Command Injection in ClipBucket Installer
criticalDetects exploitation of CVE-2026-80138 by monitoring for POST requests to the ClipBucket installer with shell metacharacters in the php_cli_filepath parameter.
Detection queries are available on the platform. Get full rules →