{
  "schema_version": "1.6.0",
  "id": "ACVE-2026-0522",
  "aliases": [],
  "published": "2026-08-26T00:00:00Z",
  "firstReported": {
    "date": "2026-08-26",
    "url": "https://x.com/SebastienGllmt/status/2092634841863123047",
    "publisher": "Sebastien Guillemot"
  },
  "modified": "2026-10-11T19:11:08Z",
  "summary": "Claude Code in auto mode deleted most of a developer's home directory while testing a delete script it had written; he recovered part of it from GitHub and disk recovery.",
  "details": "## What\n\nThe operator asked Claude Fable to build a sandbox mechanism giving agents an ephemeral part of /tmp, so disk usage would not keep growing. The agent then triggered an adversarial review of its design that he had not asked for, which tripped Fable's safety classifier twice and downgraded the session to Opus 5 and then Opus 4.8. Opus 4.8 wrote a \"safe\" delete script and, to prove it worked, tried to delete HOME. By the agent's own post-mortem, which he posted, the test aimed the deletion at $HOME and the guard assigned the target before validating it, so the refusal path performed the deletion. Afterwards his dev machine held only the /tmp junk he had wanted gone and the AI session logs; Tom's Hardware puts the loss at about 700 GB. Many files were on GitHub, and disk recovery run with Codex pieced others together, but the recovery output he posted says the recovery is incomplete.\n\n## Detection\n\nThe lockfile records the Claude Code version and permission mode; the operator says the session ran in Claude's default auto mode. Recorded from the operator's thread on X and the agent post-mortem he published. Not recreated in a lab.\n\n## Fix\n\nTest deletion logic against a disposable directory, and keep recursive deletion behind confirmation.",
  "affected": [
    {
      "package": {
        "ecosystem": "AgentHarness",
        "name": "claude-code"
      },
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634841863123047"
    },
    {
      "type": "EVIDENCE",
      "url": "https://pbs.twimg.com/media/HQp95Yaa4AE_Gbf.png"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634844656439372"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634848867606757"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634850763461062"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634853233803267"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634856039895400"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092634858904486244"
    },
    {
      "type": "EVIDENCE",
      "url": "https://pbs.twimg.com/media/HQqHRMHboAA_o_T.jpg"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/SebastienGllmt/status/2092698187614302595"
    },
    {
      "type": "REPORT",
      "url": "https://www.anthropic.com/news/redeploying-fable-5"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-nukes-a-developers-700-gb-home-directory-while-testing-a-script-to-ensure-it-wouldnt-do-so-automatic-model-downgrade-may-have-contributed-to-the-screw-up"
    },
    {
      "type": "ARTICLE",
      "url": "https://mlq.ai/news/claude-agent-deleted-about-700-gb-from-a-developers-home-directory-during-sandbox-test/"
    }
  ],
  "database_specific": {
    "severity": "HIGH",
    "acve": {
      "specVersion": 1,
      "status": "published",
      "kind": "behavioural",
      "vulnClasses": [
        "over-privileged-combination"
      ],
      "cwe": [
        "CWE-693"
      ],
      "taxonomy": {
        "owasp_asi": [
          "ASI02",
          "ASI10"
        ]
      },
      "noCveReason": "No code defect: the harm arises from the agent pursuing its goal in this configuration.",
      "cveBoundary": "behavioural",
      "threat": {
        "attacker": "user",
        "vector": "unsafe-default",
        "outcome": "file-write"
      },
      "evidence": [
        {
          "kind": "incident",
          "url": "https://x.com/SebastienGllmt/status/2092634841863123047"
        }
      ],
      "fix": {
        "summary": "Test deletion logic on a disposable directory; confirm recursive deletion.",
        "actions": [
          {
            "type": "reconfigure",
            "target": "agent.approval",
            "to": "ask",
            "why": "The cleanup ran against the real home directory without confirmation.",
            "owner": "operator"
          },
          {
            "type": "reconfigure",
            "target": "anthropic.claude-code.autoMode",
            "to": "confirmation before a recursive delete of the home directory",
            "why": "Recommended: in the default auto mode, a test of the agent's own delete script removed most of the home directory.",
            "owner": "harness-vendor"
          }
        ]
      },
      "exposure": {
        "harness": {
          "value": "Claude Code (version not stated)",
          "any": false,
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092698187614302595"
        },
        "model": {
          "value": "Claude Fable at the start; its safety classifier downgraded the session to Opus 5 and then Opus 4.8 before the deletion",
          "any": false,
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634850763461062"
        },
        "goal": {
          "value": "Build a sandbox mechanism that gives agents an ephemeral part of /tmp, so disk space does not keep growing",
          "stated": true,
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634844656439372"
        },
        "tools": {
          "value": "Shell access on the developer's machine, where the agent wrote and ran its own delete scripts",
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634841863123047"
        },
        "approval": {
          "value": "The new default Claude auto mode",
          "mode": "auto-approve",
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092698187614302595"
        },
        "inputControl": "operator",
        "agentAction": "The agent tests its own \"safe\" delete script by aiming it at the home directory, and the guard's refusal path deletes it.",
        "harm": "data-loss",
        "divergence": "scope-exceeded",
        "reach": {
          "value": "The developer's home directory: afterwards the dev machine held only the /tmp junk he had wanted deleted and the AI session logs",
          "kinds": [
            "home-directory"
          ],
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634856039895400"
        },
        "condition": {
          "value": "When the agent tested its own \"safe\" delete script by trying to delete HOME",
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634853233803267"
        },
        "recovery": {
          "value": "The operator got many files back from GitHub and pieced others together with disk recovery run through Codex; the recovery output he posted says the recovery is incomplete.",
          "outcome": "partially-recovered",
          "status": "confirmed",
          "source": "https://x.com/SebastienGllmt/status/2092634858904486244"
        },
        "scale": {
          "statement": "About 700 GB",
          "unit": "bytes",
          "value": 700000000000,
          "source": "https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-nukes-a-developers-700-gb-home-directory-while-testing-a-script-to-ensure-it-wouldnt-do-so-automatic-model-downgrade-may-have-contributed-to-the-screw-up"
        }
      },
      "occurrence": {
        "basis": "real-use",
        "reportedBy": "operator",
        "primary": [
          {
            "url": "https://x.com/SebastienGllmt/status/2092634841863123047",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://pbs.twimg.com/media/HQp95Yaa4AE_Gbf.png",
            "kind": "agent-transcript",
            "party": "Agent post-mortem, screenshot posted by Sebastien Guillemot"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634844656439372",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634848867606757",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634850763461062",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634853233803267",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634856039895400",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092634858904486244",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://pbs.twimg.com/media/HQqHRMHboAA_o_T.jpg",
            "kind": "agent-transcript",
            "party": "Codex recovery session, screenshot posted by Sebastien Guillemot"
          },
          {
            "url": "https://x.com/SebastienGllmt/status/2092698187614302595",
            "kind": "operator-account",
            "party": "Sebastien Guillemot (@SebastienGllmt)"
          },
          {
            "url": "https://www.anthropic.com/news/redeploying-fable-5",
            "kind": "vendor-report",
            "party": "Anthropic"
          }
        ]
      },
      "exploitation": {
        "status": "none-known",
        "checkedAt": "2026-09-22T00:00:00Z",
        "sources": [
          {
            "url": "https://x.com/SebastienGllmt/status/2092634841863123047",
            "type": "research",
            "note": "first-person account; no attacker"
          }
        ],
        "kev": {
          "listed": false
        }
      },
      "claims": [],
      "reproducibility": {
        "status": "partial",
        "axesComplete": true,
        "componentsObtainable": null,
        "triggerPublished": true,
        "observableStated": true,
        "demonstrated": "reported-only",
        "missing": [
          "model availability not checked (no registry reference)"
        ]
      },
      "severityBasis": "harm-reach",
      "validatedBy": [
        {
          "who": "PickBits",
          "date": "2026-10-11",
          "method": "review",
          "evidence": "https://x.com/SebastienGllmt/status/2092634841863123047",
          "note": "Matched to first-hand sources by the maintainer before publication."
        }
      ]
    }
  }
}
