HestiaCP Panel Cronjob Broken Access Control Admin Takeover
CVE-2026-12196 is a broken access control vulnerability in the HestiaCP panel cronjob feature. HestiaCP distinguishes between ordinary user cron jobs and privileged panel cron jobs; panel cron jobs are intended to be restricted to administrators and execute as the more privileged panel user. According to the provided analysis, the authorization logic protecting modification of panel cron jobs is implemented with an if statement that compares session context and user data against $ROOT_USER, but $ROOT_USER is undefined in the vulnerable code path and evaluates to an empty value. As a result, low-privileged authenticated users can bypass the intended restriction and modify panel cron jobs. The same analysis also states that CSRF validation is missing for the relevant request. Because the panel user can invoke HestiaCP management scripts with passwordless sudo, an attacker can schedule privileged commands such as /usr/local/hestia/bin/v-change-user-password to reset the admin password and gain control of the administrator account. The issue can also lead to effective code execution on the underlying webserver through privileged script execution.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a low-privileged authenticated HestiaCP user to escalate privileges to administrator within the HestiaCP application. By modifying privileged panel cron jobs, the attacker can execute HestiaCP management scripts as the panel user with passwordless sudo, including changing the admin account password to an attacker-controlled value. This results in administrator account takeover and can extend to compromise of the underlying webserver, effectively providing privileged code execution and broader system control.
If you can’t patch tonight, do this now.
Until a fixed release is deployed, restrict or disable access to the panel cronjob functionality for non-administrative users, closely review and remove unauthorized panel cron entries, and monitor for execution of privileged HestiaCP management scripts such as /usr/local/hestia/bin/v-change-user-password. Reduce exposure by limiting who can obtain low-privileged panel accounts, auditing sudo permissions available to the panel user, and monitoring for unexpected administrator password changes or cron modifications. These are temporary risk-reduction measures and do not replace patching.
Patch, then assume compromise.
Apply the vendor patch referenced in HestiaCP GitHub pull request #5440, which reportedly corrects the authorization check for panel cron job modification and adds CSRF verification for the affected request flow. If no formal fixed release is yet available, apply the patch manually from the referenced pull request and upgrade to an official release containing the fix as soon as one is published.
No public exploits tracked yet. Mallory keeps watching.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.