Disclosed weakness · no CVE recorded
Claude Code background sessions could resume work that had been stopped
Anthropic · Claude Code background session restart
First documented disclosure · Review checkpoint
Summary
A restarted background session could repeat a stopped or deliberately ended turn.
Severity and exploitation evidence
No CVSS score recorded in this review.
Exploitation not established: The reviewed public originals establish a reported correction or author-controlled demonstration, not malicious exploitation or identified victims. No product, model, package, exploit or proof of concept was executed in this review.
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
The release says background sessions could repeat work after restart for a turn stopped with Esc, a prompt taken back with Esc, or a deliberately ended turn such as a goal at its Stop-hook limit. The December 4 follow-up names cancellation before the reply begins as another corrected restart case.
Conditions required
A background session restarts after one of the named stop, withdrawal or deliberate-completion conditions.
Potential impact
Work can resume beyond the user’s stop or configured termination point. The release does not identify a particular unauthorized tool action, victim or malicious actor.
Affected versions and configurations
The complete affected release range and introduction are not disclosed.
Fix and mitigation status
Stable 2.1.336 lists the original correction on December 3. Stable 2.1.337 on December 4 additionally fixes replay after restart when a turn was cancelled before the reply began.
Practical next steps
Update and verify background session state after stopping work and before restarting a session.
Operating lesson
Persisted work queues must preserve cancellation and termination decisions.
Evidence and limits
Full maintainer release notes were read. This is release-note evidence; implementation, precise introduction and complete affected range were not independently established. No CVE or numeric severity is assigned. The correction does not establish malicious exploitation or an identified victim. This concerns persisted turn replay, not a pending command approval arriving late. December 5 review reuses the frozen December 4 originals with their original retrieval timestamps; selected release/remediation states were checked again.
Sources
- Stopped background-turn restart correction
Primary source ·
- Cancelled-before-reply restart follow-up
Primary source ·