Description
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 secure_path_check and running commands as the website's Linux user.
Metrics
CVSS 3.1 7.2/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| usmannasir | cyberpanel | >= 2.4.2, < 3.0.12 |
References
- https://github.com/usmannasir/cyberpanel/blob/677605cbab6e28e597e02f15907598e7f6565647/aiScanner/api.py#L395-L396
- https://github.com/usmannasir/cyberpanel/commit/47db7a77869d30c53fd5e898cba50d652fc32989
- https://github.com/usmannasir/cyberpanel/commit/f179bfab8ec71c654af59c75b36e5e5aa4a231a0
- https://www.vulncheck.com/advisories/cyberpanel-2.4.2-before-3.0.12-os-command-injection-via-ai-scanner-file-api
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Deferred