Time-of-check Time-of-use (TOCTOU) Race Condition in Hestia Control Panel - #VU166266
Published: November 16, 2026
Vulnerability details
The vulnerability allows a local user to escalate privileges to root and compromise other tenants on the host.
The vulnerability exists due to a time-of-check time-of-use race condition in Hestia Control Panel's v-add-user-ssh-key and v-add-user-sftp-key scripts when validating user-controlled paths before privileged file operations. A local user can replace validated files with symlinks while triggering key addition or File Manager operations to append SSH keys to arbitrary files or change root-owned file ownership and obtain root privileges.