You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Claude background-task output tail reads filesystem paths built from unvalidated provider stream ids #26489
session_id and task_id come straight from the provider stream (SDKTaskStartedMessage, typed as bare string), with no validation before use as path components. path.join normalizes .., so a malformed or spoofed value can escape the session directory, and matched content is streamed to the client as command_output.delta.
The required .output suffix and tasks/ segment narrow the exposure, but the server should not do filesystem reads on provider-supplied path segments.
Expected: reject ids not matching a strict pattern (e.g. /^[\w-]+$/) and verify containment of the resolved path under the session root, as CheckpointRestoreSafety already does for checkpoints.
I plan to submit a focused fix (id validation + containment check with tests).
Activity
fix(web): Running only offers per-task Stop and output where the prov…
fix(server): risky provider requests reach the user; subagents go wit…