/

CVE-2026-62202

Severity:

HIGH RISK

(8.8)

Privilege Escalation (CWE-863) in OpenClaw Cron Jobs

CVE-2026-62202

Analyzed

Vulnerability type

Category:

Privilege Escalation

CWE:

CWE-863

Impact:

Unauthorized Privilege Elevation and Execution

Severity:

HIGH RISK

(8.8)

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

OpenClaw contains a privilege escalation issue in isolated cron jobs where lower-trust callers can regain access to execution tools that should be denied.

By abusing misconfigured input paths in the cron feature, attackers can execute or persist actions beyond their intended authorization boundary in affected deployments.

Affected context

This vulnerability arises in environments using OpenClaw's isolated cron job feature, particularly where multiple trust levels share cron infrastructure or configuration.

It is most relevant when cron jobs are expected to strictly enforce execution restrictions for lower-trust callers but rely on input paths and configuration that can be influenced or misrouted.

Deployments that do not fully segregate job inputs, command paths, or execution tooling between privileged and unprivileged callers are more likely to exhibit the issue.

Exploit preconditions

  • Attack surface: OpenClaw cron job submission or scheduling interfaces.
  • Required access: Ability for a lower-trust or partially restricted user, service account, or automation to submit or modify inputs to isolated cron jobs.
  • Trigger point: Execution of a cron job that uses misconfigured input or command paths, allowing access to tools or actions that should be blocked.
  • Why exploitation is possible: Authorization logic is enforced inconsistently; misconfigured paths and shared execution environments enable lower-trust callers to reach higher-privilege tooling through cron job configuration.

Why this happens

The underlying issue corresponds to CWE-863: Incorrect Authorization, where an authorization mechanism fails to properly enforce policies for a particular operation or context.

In this case, the cron job subsystem treats certain input paths or execution tools as available to all callers, without reliably checking their trust level or intended restrictions.

The security boundary around "isolated" cron jobs is weakened by configuration that does not accurately bind the caller's privileges to the job's allowed commands and resources, creating an escalation path.

Potential impact

  • Lower-trust callers may execute commands or tools intended only for higher-privilege roles.
  • Attackers could persist scheduled actions that outlive their normal access window.
  • Unauthorized changes to application state, configuration, or data may occur via elevated cron execution.
  • Expanded footholds inside the environment through ongoing scheduled tasks.

General mitigation guidance

Effective mitigation focuses on tightening authorization around cron job configuration and execution, and reducing shared trust surfaces.

Recommended patterns include:

  • Ensuring that cron job definitions explicitly bind permitted tools and command paths to the caller's role or trust level.
  • Segregating cron execution environments so lower-trust jobs cannot reference binaries, scripts, or configuration intended for privileged jobs.
  • Applying least-privilege principles to service accounts and automation that interact with cron scheduling APIs.
  • Validating and normalizing input paths used by cron jobs to prevent bypass of restrictions through alternative or indirect locations.
  • Designing cron features to be secure by default, with restricted execution tools unless explicitly and safely expanded.

How teams detect issues like this

High-level detection approaches include:

  • Reviewing cron job configurations and templates for shared or overly broad command paths and tooling across trust levels.
  • Using static or configuration analysis to flag cron jobs that allow execution of privileged tools by roles marked as restricted.
  • Auditing authorization checks around cron scheduling and runtime to ensure caller identity and role are enforced for each job.
  • Implementing monitoring and alerting for unusual cron job patterns, such as new jobs created by low-privilege accounts that invoke sensitive commands.
  • Incorporating automated policy enforcement in CI/CD pipelines to prevent deployment of cron configurations that violate least-privilege rules.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-mm9g-83wh-mhwj
vulncheck.comvulncheck.com/advisories/openclaw-privilege-escalation-via-cron

Frequently asked

questions

Exploitability depends on how widely the isolated cron feature is used and how many lower-trust callers can submit or influence cron jobs. In environments with shared cron infrastructure and weak configuration boundaries, the exposure can be significant.

An attacker typically needs access as a lower-trust user, service account, or integration that can create, modify, or supply inputs to cron jobs. They do not need full administrative control but must be able to interact with the cron scheduling or configuration paths.

The safest approach is to enforce strict, role-aware authorization on cron job creation and execution, segregate privileged and unprivileged cron environments, and ensure that command and input paths available to each trust level are explicitly constrained.

Future prevention involves designing scheduled task systems with clear trust boundaries, applying least privilege to all automation accounts, validating configuration changes via code review and policy checks, and routinely auditing cron jobs for alignment with access control policies.

Find out what's already
exploitable in your codebase.