CVE-2026-135786

CowAgent scheduled tasks lost their originating permission restrictions

zhayujie · CowAgent

First documented disclosure · Review checkpoint

Summary

Scheduled tasks could execute under more permissive global settings than their originating conversation, including tasks created in workspace-write mode or run after a later conversation downgrade.

Severity and exploitation evidence

Medium · 5.3/10 · CVSS 4.0. Severity source.

Exploitation not established: Reviewed public sources establish the weakness or a controlled demonstration; malicious exploitation against users is not established.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Scheduled task persistence omitted the originating session and permission mode; execution in a new scheduler session fell back to global permissions.

Conditions required

Ability to create a scheduled task and a global permission mode more permissive than the originating conversation. Workspace-write conversations could create affected tasks without a later downgrade; the report also demonstrated a downgrade to read-only before execution.

Potential impact

Writes or shell actions at the agent process’s privileges despite the chat’s restricted mode; this does not grant a new operating-system identity.

Affected versions and configurations

CNA enumerates 2.2.0 and 2.2.1; the original issue describes 2.1.7–2.2.1.

Fix and mitigation status

2.2.2 stable, published October 30.

Practical next steps

Upgrade to 2.2.2 or later and review previously created tasks and their origin permissions; restrict global execution privileges.

Operating lesson

Persist delegated authority with scheduled work and re-evaluate current authority at execution.

Evidence and limits

The issue opened October 24 and its body was edited October 30; those timestamps do not establish when its current mechanism description appeared. An unedited owner comment at October 28 02:47:19Z publicly confirms the scheduler-session fallback and the broader workspace-write case, establishing the reviewed disclosure date. The corrective commit 566c941 is dated October 28 02:56:44Z; its full diff and the stable 2.2.2 tag verify stored origin/permission fields, stricter comparison with current origin settings, legacy-task handling and delegated permission propagation. Public HTML preserved the owner comments despite the comment API rate limit. Read-only mode does not itself limit file reads. CNA publication November 24 is later authority ingestion. No exploit was executed during this review.

Sources