/

CVE-2026-41359

Severity:

HIGH RISK

(7.1)

Privilege Escalation / Improper Privilege Management

CVE-2026-41359

Analyzed

Vulnerability type

Category:

Privilege Escalation / Improper Privilege Management

CWE:

CWE-269

Impact:

Privilege Escalation to Administrative Capabilities

Severity:

HIGH RISK

(7.1)

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 before 2026.3.28 contains a privilege escalation flaw where authenticated operators with write permissions can access admin-level Telegram configuration and cron persistence settings via the send endpoint.

By abusing insufficient access controls on this endpoint, an attacker with operator.write credentials may modify sensitive administrative functionality and persistence mechanisms.

Affected context

The vulnerability occurs in OpenClaw deployments that:

  • Expose the operator send endpoint to authenticated users with operator.write permissions
  • Store or manage admin-class Telegram configuration and cron-based persistence settings behind that same endpoint
  • Rely on role or permission checks that do not sufficiently distinguish between operator-level and admin-level actions

It mainly affects environments where operator.write roles are widely granted, or where the send endpoint is integrated into automation or workflow tools.

Exploit preconditions

  • Attack surface: Application/API layer, specifically the OpenClaw send endpoint used by operators.
  • Required access: Valid authenticated account with operator.write (or equivalent) permissions; no admin credentials needed.
  • Trigger point: Invocation of the send endpoint where admin-level configuration and cron persistence functionality is reachable through insufficiently gated operations or parameters.
  • Why exploitation is possible: The authorization logic does not properly enforce separation of duties between operator and administrator roles, allowing a non-admin role to perform actions intended only for admin-class configuration and persistence management.

Why this happens

This issue stems from improper privilege management, aligning with CWE-269.

The system conflates or loosely enforces authorization boundaries between different roles, exposing admin-class functionality (Telegram configuration management and cron persistence control) through an endpoint intended for operator-level actions.

Instead of performing fine-grained checks per operation or resource, the send endpoint trusts the broad operator.write permission, effectively granting escalation to tasks that should require dedicated, higher-privilege scopes.

Conceptually, this reflects a lack of clear separation of responsibilities and missing defense-in-depth around sensitive configuration and persistence operations.

Potential impact

  • Operators may elevate their effective privileges to perform administrator-only actions.
  • Attackers can modify Telegram integration settings, including destinations, tokens, or notification behavior.
  • Cron-based persistence or scheduled tasks can be altered to introduce or maintain unauthorized behavior.
  • System workflows and alerting channels may be redirected, disabled, or abused for data exfiltration.
  • Increased risk of long-term compromise via tampered persistence mechanisms and stealthy automation changes.

General mitigation guidance

Effective mitigation focuses on tightening authorization boundaries and isolating sensitive operations:

  • Apply least privilege by separating operator and admin roles with distinct permission sets; ensure that write capabilities for normal operations do not implicitly cover administrative configuration or persistence controls.
  • Introduce fine-grained access control at the endpoint and action level, requiring explicit admin-scoped permissions for:
  • Telegram configuration management
  • Cron or persistence settings
  • Any security- or infrastructure-impacting operation
  • Implement defense-in-depth checks such as:
  • Explicit role/permission verification for each sensitive operation
  • Policy-based access control (e.g., ABAC/RBAC rules) that encode organizational boundaries.
  • Segregate administrative interfaces from operational endpoints:
  • Use separate API routes or services for admin-class configuration and persistence management.
  • Restrict these routes via network controls, SSO groups, or dedicated admin authentication.
  • Require strong change governance for persistence and integration settings:
  • Change review, approval workflows, and audit trails for all admin-level configuration modifications.
  • Periodically review roles, permissions, and group assignments to minimize over-privileged operator accounts.

How teams detect issues like this

Several approaches can help detect and monitor this class of issue:

  • Code-level and configuration review:
  • Examine endpoints that expose configuration or scheduling features to ensure they perform explicit role/permission checks.
  • Flag any handler where operator-level permissions gate admin-class functions, especially around integrations and cron/persistence layers.
  • Static analysis and policy enforcement:
  • Use static analysis rules to detect authorization checks that:
  • Rely on broad roles (e.g., "write" or "operator") without resource-level constraints.
  • Are missing around methods that modify configuration, tokens, or scheduled jobs.
  • Apply policy-as-code (e.g., in CI/CD) to ensure that new endpoints touching persistence or messaging integrations reference high-privilege scopes.
  • Runtime monitoring and logging:
  • Log all access to admin-level configuration and cron functionality with user ID, role, originating IP, and request details.
  • Trigger alerts when operator-level accounts invoke admin-class operations or when configuration/persistence changes are made outside normal admin usage patterns.
  • Periodic authorization tests:
  • Run security tests and role-based access reviews to validate that non-admin accounts cannot reach admin-only routes, methods, or parameters.
  • Incorporate these checks into regular penetration tests and regression suites.

Sources

SourceLink
github.comgithub.com/openclaw/openclaw/commit/b7d70ade3b9900dbe97bd73be9c02e924ff3c986
github.comgithub.com/openclaw/openclaw/security/advisories/GHSA-767m-xrhc-fxm7
vulncheck.comvulncheck.com/advisories/openclaw-privilege-escalation-via-operator-write-to-admin-class-telegram-config-and-cron-persistence

Frequently asked

questions

Yes, but only by authenticated users. Exploitation occurs through the exposed send endpoint and requires valid credentials with operator.write permissions; it is not exploitable by anonymous users alone.

An attacker needs an operator-level account with write capabilities (operator.write or equivalent). With that access, they can abuse the insufficient authorization checks to perform admin-class configuration and persistence changes.

The most robust fix is to separate admin and operator concerns and enforce strict, explicit authorization checks for all sensitive operations. Admin-class functionality—such as Telegram configuration management and cron persistence controls—should be reachable only through dedicated admin endpoints or methods protected by high-privilege roles or scopes.

Adopt a systematic access-control design: clearly define roles and permissions, use least privilege by default, perform per-operation authorization checks, and embed security reviews into design and code review processes. Supporting this with automated tests, static analysis for authorization patterns, and policy-as-code can help catch privilege management issues before deployment.

Find out what's already
exploitable in your codebase.