# CVE-2021-47949: CyberPanel command execution in filemanager controller

Source: https://junglewise.ai/threats/cve-2021-47949-cyberpanel-command-execution-in-filemanager-controller  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-10. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2021-47949 · Severity: high · CVSS 8.8 · Published 2026-05-10

CyberPanel, a popular web hosting control panel, contains a security flaw that allows logged-in users to take full control of the server. By exploiting a weakness in the file management system, an attacker can read sensitive files like database passwords and execute their own commands on the underlying operating system. This could lead to a total compromise of all websites hosted on the server and the theft of customer data.

## Quick answers

**Is CVE-2021-47949 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-47949 being exploited in the wild.

**How severe is CVE-2021-47949?** High severity, with a CVSS score of 8.8, published 10 May 2026.

**Which products and versions are affected?** Cyberpanel CyberPanel <= 2.1.

**Is there a fix for CVE-2021-47949?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2021-47949 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2021-47949?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A command injection and symlink vulnerability exists in CyberPanel version 2.1 and earlier. The root cause is improper sanitization of the 'completeStartingPath' parameter within POST requests to the /filemanager/controller endpoint. An authenticated attacker can manipulate this parameter to inject shell commands or create symbolic links. By creating a symlink to sensitive system files (such as /root/.my.cnf) and then accessing the /websites/fetchFolderDetails endpoint, an attacker can read arbitrary files with elevated privileges. This can be further leveraged to extract database credentials and achieve full remote code execution (RCE) on the host system. A public exploit (EDB-50230) is available.

## Affected products

- Cyberpanel CyberPanel <= 2.1

## Timeline

- 2021-08-27: disclosed: Exploit published on Exploit-DB
- 2026-05-10: advisory: NVD/VulnCheck advisory published

## References

- [https://cyberpanel.net/](https://cyberpanel.net/)
- [https://github.com/usmannasir/cyberpanel](https://github.com/usmannasir/cyberpanel)
- [https://www.exploit-db.com/exploits/50230](https://www.exploit-db.com/exploits/50230)
- [https://www.vulncheck.com/advisories/cyberpanel-authenticated-remote-code-execution-via-symlink-attack](https://www.vulncheck.com/advisories/cyberpanel-authenticated-remote-code-execution-via-symlink-attack)
