/

CVE-2026-111627

Severity:

HIGH RISK

(7.2)

Authorization Bypass (CWE-863) in HestiaCP Cron API

CVE-2026-111627

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Privilege Escalation and Command Execution

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

HestiaCP contains an authorization bypass that can allow a non-root administrator to perform write actions while impersonating the protected ROOT_USER account. When the affected cron-management request is accepted without enforcing its read-only restriction, the attacker may cause commands to run under the protected administrator's system account.

HestiaCP contains an authorization bypass that can allow a non-root administrator to perform write actions while impersonating the protected ROOT_USER account. When the affected cron-management request is accepted without enforcing its read-only restriction, the attacker may cause commands to run under the protected administrator's system account.

Affected context

The issue affects HestiaCP deployments where a non-ROOT_USER administrator can use the account-impersonation functionality and reach the cron-management interface. Risk arises when authorization state, including the read-only restriction, is not consistently enforced before write operations are processed.

The issue affects HestiaCP deployments where a non-ROOT_USER administrator can use the account-impersonation functionality and reach the cron-management interface. Risk arises when authorization state, including the read-only restriction, is not consistently enforced before write operations are processed.

Exploit preconditions

  • Attack surface: HestiaCP administrative web interface and cron-management endpoint
  • Required access: Authenticated access as a non-ROOT_USER administrator with access to account impersonation
  • Trigger point: A write request handled by the cron-management functionality while operating in an impersonated ROOT_USER context
  • Why exploitation is possible: The application does not adequately enforce the read-only authorization flag before accepting the write action, allowing a lower-privileged administrator to create or modify cron activity associated with the protected account
  • Attack surface: HestiaCP administrative web interface and cron-management endpoint
  • Required access: Authenticated access as a non-ROOT_USER administrator with access to account impersonation
  • Trigger point: A write request handled by the cron-management functionality while operating in an impersonated ROOT_USER context
  • Why exploitation is possible: The application does not adequately enforce the read-only authorization flag before accepting the write action, allowing a lower-privileged administrator to create or modify cron activity associated with the protected account

Why this happens

The underlying flaw is an authorization state-validation failure. HestiaCP permits an impersonated session to reach a write-capable operation without verifying that the session is restricted to read-only behavior. This maps to CWE-863: Incorrect Authorization, because the application fails to enforce the intended privilege boundary for a sensitive action and treats an impersonated identity as sufficient authority.

The underlying flaw is an authorization state-validation failure. HestiaCP permits an impersonated session to reach a write-capable operation without verifying that the session is restricted to read-only behavior. This maps to CWE-863: Incorrect Authorization, because the application fails to enforce the intended privilege boundary for a sensitive action and treats an impersonated identity as sufficient authority.

Potential impact

  • An attacker may create or modify scheduled tasks associated with the protected administrator
  • Commands could run under the ROOT_USER system account
  • The attacker could gain elevated control over the hosting server
  • Hosted websites, accounts, or data may be modified or compromised
  • The affected system could be used for persistence or further compromise
  • An attacker may create or modify scheduled tasks associated with the protected administrator
  • Commands could run under the ROOT_USER system account
  • The attacker could gain elevated control over the hosting server
  • Hosted websites, accounts, or data may be modified or compromised
  • The affected system could be used for persistence or further compromise

General mitigation guidance

Mitigation generally focuses on enforcing authorization independently for every sensitive write operation.

Common defensive patterns include:

  • Apply deny-by-default authorization checks at the cron-management service boundary
  • Treat impersonated sessions as read-only unless an explicitly authorized elevation path is present
  • Validate the effective actor, target account, and requested operation before processing writes
  • Avoid relying solely on UI restrictions or client-controlled flags
  • Separate administrative identities and service-account privileges where possible
  • Run scheduled tasks with the minimum operating-system permissions required
  • Record and alert on privileged cron changes and account-impersonation activity

Mitigation generally focuses on enforcing authorization independently for every sensitive write operation.

Common defensive patterns include:

  • Apply deny-by-default authorization checks at the cron-management service boundary
  • Treat impersonated sessions as read-only unless an explicitly authorized elevation path is present
  • Validate the effective actor, target account, and requested operation before processing writes
  • Avoid relying solely on UI restrictions or client-controlled flags
  • Separate administrative identities and service-account privileges where possible
  • Run scheduled tasks with the minimum operating-system permissions required
  • Record and alert on privileged cron changes and account-impersonation activity

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis rules that identify write handlers missing centralized authorization checks
  • Code review signals involving impersonation, effective-user changes, and client-controlled read-only indicators
  • Tests that verify every privileged endpoint rejects writes from read-only or delegated sessions
  • Policy enforcement requiring server-side authorization decisions for administrative actions
  • Audit-log monitoring for unexpected cron changes performed through impersonated administrator sessions
  • Automated security review tools that model authorization across alternate identity and privilege states

Organizations can look for this class of issue through:

  • Static analysis rules that identify write handlers missing centralized authorization checks
  • Code review signals involving impersonation, effective-user changes, and client-controlled read-only indicators
  • Tests that verify every privileged endpoint rejects writes from read-only or delegated sessions
  • Policy enforcement requiring server-side authorization decisions for administrative actions
  • Audit-log monitoring for unexpected cron changes performed through impersonated administrator sessions
  • Automated security review tools that model authorization across alternate identity and privilege states

Sources

SourceLink
github.comgithub.com/hestiacp/hestiacp/blob/1.10.4/web/add/cron/index.php#L11-L70
github.comgithub.com/hestiacp/hestiacp/blob/1.10.4/web/inc/policies.php#L3-L14
github.comgithub.com/hestiacp/hestiacp/commit/1af7e057cd5ad2ea945acba6c9932ea1a1802c24
github.comgithub.com/hestiacp/hestiacp/releases/tag/1.10.5
github.comgithub.com/hestiacp/hestiacp/security/advisories/GHSA-vp7q-fjv5-5vg8
vulncheck.comvulncheck.com/advisories/hestiacp-before-1.10.5-protected-admin-bypass-via-cron-job-creation

Frequently asked

questions

It can be exploitable through the HestiaCP web interface when an attacker has suitable authenticated administrative access and the affected impersonation capability is available.

No. The described issue concerns non-ROOT_USER administrators whose impersonated sessions are incorrectly allowed to perform a protected write action.

Enforce server-side authorization for every cron-management write, explicitly rejecting operations from read-only impersonated sessions and validating the effective actor and target account.

Use centralized authorization checks, test privilege boundaries across impersonation states, avoid trusting client-provided authorization flags, and monitor sensitive administrative changes.

It can be exploitable through the HestiaCP web interface when an attacker has suitable authenticated administrative access and the affected impersonation capability is available.

No. The described issue concerns non-ROOT_USER administrators whose impersonated sessions are incorrectly allowed to perform a protected write action.

Enforce server-side authorization for every cron-management write, explicitly rejecting operations from read-only impersonated sessions and validating the effective actor and target account.

Use centralized authorization checks, test privilege boundaries across impersonation states, avoid trusting client-provided authorization flags, and monitor sensitive administrative changes.

Find out what's already
exploitable in your codebase.