CVE-2021-47871 Hestia Control Panel 1.3.2 - Arbitrary File Write
Authenticated attackers can write arbitrary files, such as SSH keys, to specific server paths via the API, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-47871?
CVE-2021-47871 is a high-severity path traversal vulnerability in Hestia Control Panel, published on 21 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Hestia Control Panel 1.3.2 contains an arbitrary file write vulnerability that allows authenticated attackers to write files to arbitrary locations using the API index.php endpoint. Attackers can exploit the v-make-tmp-file command to write SSH keys or other content to specific file paths on the server.
Weakness: CWE-73
Which versions are affected by CVE-2021-47871?
How do I fix CVE-2021-47871?
No fix has been published for CVE-2021-47871 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-47871 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47871 exists.
Sources
Also known as GHSA-mq9q-3qrm-9f7q.