All vulnerabilities

Servers and applications

GHSA-hc82-cqjf-hcpg

Authenticated HestiaCP user to OS root through v-add-mail-domain symlink TOCTOU

Severity
High 8.5
Published
14 Nov 2026
Last changed
14 Nov 2026
Added to UpHeron
14 Nov 2026
Fixed in
1.10.7
Weakness
Link following (CWE-59)Time-of-check time-of-use race condition (CWE-367)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

HestiaCP checks once that /home//mail is not a symbolic link, but later performs root chmod and chown operations through that pathname. The Hestia Unix account owns /home/, so a low-privilege panel user can rename the root-owned mail entry and replace it with a symbolic link after the check.

Using HestiaCP's intended user-cron feature as the unprivileged execution context, an authenticated tenant can synchronize the swap on creation of an attacker-selected mail-domain directory. On official 1.10.5, the unmodified vendor script changed /etc/pam.d/su to the tenant's UID. In an isolated Ubuntu 24.04 container, replacing that PAM policy and invoking su solely to run /usr/bin/id -u returned 0. Current main reproduced the chain 10/10 times.

Tested source Repository: hestiacp/hestiacp Official release: 1.10.5 Release commit: 7d617fd1c5fd3be86458c7f53a6dad4a444b0a82 Current main: a872ecb1efb817061288e149f19dd7e17972c30e Test date: 2026-10-27 Test platform: network-disabled Ubuntu 24.04…

From hestiacp/hestiacp's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Hestia Control PanelServers and applications · github:hestiacp/hestiacp
  • Every version before 1.10.7

About Hestia Control Panel

Hestia Control Panel | A lightweight and powerful control panel for the modern web.

From its GitHub repository.
GitHub stars
4,578GitHub, 15 Nov 2026
Forks
964GitHub, 15 Nov 2026
Latest release
1.10.7GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
GPL-3.0GitHub
First published on GitHub
7 Nov 2018GitHub

References