CVE-2026-141600: CyberPanel 2.4.2 before 3.0.12 OS Command Injection via AI Scanner File API
CyberPanel 2.4.2 before 3.0.12 contains an OS command injection vulnerability in the AI Scanner worker file API in aiScanner/api.py that allows holders of a scan file-access token or scanner API key to execute shell commands. Attackers can supply a path containing double quotes and command substitution to the list, content, or file handlers, bypassing securepathcheck and running commands as the website's Linux user.
Affected Software
Event History
Frequently Asked Questions
What level of access does an attacker need to exploit this issue?
The attacker needs either a scan file-access token or a scanner API key. No additional user interaction is required.
What privileges do injected commands receive?
Injected commands run as the Linux user associated with the website, rather than necessarily as the system root user.
Which API operations are affected?
The vulnerable path handling is present in the AI Scanner worker file API's list, content, and file handlers. A path containing double quotes and command substitution can bypass secure_path_check.