CVE-2021-47949 CyberPanel 2.1 Authenticated Remote Code Execution via Symlink Attack

High 8.7 Published Updated

Authenticated attackers can execute arbitrary code and read sensitive files via symlink attacks in CyberPanel's file manager.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47949?

CVE-2021-47949 is a high-severity path traversal vulnerability in CyberPanel, published on 10 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

CyberPanel 2.1 contains a command execution vulnerability that allows authenticated attackers to read arbitrary files and execute remote code by exploiting symlink attacks through the filemanager controller endpoint. Attackers can manipulate the completeStartingPath parameter in POST requests to /filemanager/controller to create symbolic links, read sensitive files like database credentials, and execute arbitrary shell commands through the /websites/fetchFolderDetails endpoint.

Weakness: CWE-59

Which versions are affected by CVE-2021-47949?

How do I fix CVE-2021-47949?

No fix has been published for CVE-2021-47949 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-47949 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47949 exists.

Sources

Also known as GHSA-47jc-h939-7pj5.

Is CVE-2021-47949 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free