{
  "schema_version": "1.6.0",
  "id": "ACVE-2026-0513",
  "aliases": [],
  "published": "2026-04-25T00:00:00Z",
  "firstReported": {
    "date": "2026-04-25",
    "url": "https://x.com/lifeof_jer/status/2048103471019434248",
    "publisher": "Jer Crane"
  },
  "modified": "2026-10-10T14:42:58Z",
  "summary": "Cursor running Claude Opus 4.6, on a routine staging task, deleted PocketOS's production database volume and its backups in one Railway API call; Railway recovered the data two days later.",
  "details": "## What\n\nThe agent was on a routine task in PocketOS's staging environment when it met a credential mismatch and decided, entirely on its own initiative, to fix it by deleting a Railway volume. It found a Railway API token in a file unrelated to its task; the token had been created to add and remove custom domains but had blanket authority over the whole Railway GraphQL API, including volumeDelete. In the agent's own words, it guessed that deleting a staging volume through the API would be scoped to staging only, and did not check whether the volume ID was shared across environments. The call deleted the production volume and, because Railway stored volume-level backups in the same volume, those backups; the operator's most recent recoverable backup was three months old. The agent's rules, from Cursor's system-prompt language and the project rules, forbade destructive or irreversible git commands unless the user asked. Railway's CEO later said Railway had recovered the database and moved API deletes onto its delayed-delete workflow.\n\n## Detection\n\nNot matched: the token and the volume are outside the lockfile. Recorded from the operator's post-mortem on X, which quotes the agent's confession, and the Railway CEO's posts. Not recreated in a lab.\n\n## Fix\n\nScope infrastructure tokens to one environment and keep destructive infrastructure calls behind confirmation.",
  "affected": [
    {
      "package": {
        "ecosystem": "AgentHarness",
        "name": "cursor"
      },
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "REPORT",
      "url": "https://x.com/lifeof_jer/status/2048103471019434248"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/lifeof_jer/status/2048576568109527407"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/JustJake/status/2048544465993056536"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/JustJake/status/2048583160842334711"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/JustJake/status/2048858437342355868"
    },
    {
      "type": "REPORT",
      "url": "https://x.com/JustJake/status/2048603314137559055"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.theregister.com/2026/04/27/cursoropus_agent_snuffs_out_pocketos/"
    }
  ],
  "database_specific": {
    "severity": "CRITICAL",
    "acve": {
      "specVersion": 1,
      "status": "published",
      "kind": "behavioural",
      "vulnClasses": [
        "over-privileged-combination",
        "credential-exposure"
      ],
      "cwe": [
        "CWE-693"
      ],
      "taxonomy": {
        "owasp_asi": [
          "ASI02",
          "ASI03",
          "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": "harmful-action"
      },
      "evidence": [
        {
          "kind": "incident",
          "url": "https://www.theregister.com/2026/04/27/cursoropus_agent_snuffs_out_pocketos/"
        }
      ],
      "fix": {
        "summary": "Scope infrastructure tokens to one environment; confirm destructive infrastructure calls.",
        "actions": [
          {
            "type": "reconfigure",
            "target": "agent.approval",
            "to": "ask",
            "why": "The delete call ran with no confirmation.",
            "owner": "operator"
          },
          {
            "type": "reconfigure",
            "target": "railway.api-token",
            "to": "a token scoped to the staging environment only",
            "why": "A token created to manage custom domains could call any Railway API operation, including deleting the production volume.",
            "owner": "operator"
          },
          {
            "type": "reconfigure",
            "target": "railway.api.volumeDelete",
            "to": "delayed delete, as the CLI and dashboard already used",
            "why": "Shipped by Railway (2026-04-27): rolled out after the agent's API call deleted the production volume.",
            "owner": "infra-provider"
          },
          {
            "type": "reconfigure",
            "target": "railway.backups",
            "to": "user and disaster-recovery backup layers",
            "why": "Shipped by Railway: it recovered the database after the volume-level backups were deleted with the volume.",
            "owner": "infra-provider"
          },
          {
            "type": "reconfigure",
            "target": "railway.api.tokens",
            "to": "tokens scoped to one environment and the operations they were made for",
            "why": "Recommended: a token made to manage custom domains could delete the production volume.",
            "owner": "infra-provider"
          }
        ]
      },
      "exposure": {
        "harness": {
          "value": "Cursor (version not stated)",
          "any": false,
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "model": {
          "value": "Claude Opus 4.6 (the operator rules out Auto routing and Composer)",
          "any": false,
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "goal": {
          "value": "Any routine task in the staging environment",
          "stated": false,
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "tools": {
          "value": "A Railway API token, created to add and remove custom domains, that the agent found in a file unrelated to its task; the token could call any Railway GraphQL operation, including volumeDelete",
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "approval": {
          "value": "No confirmation step on the Railway API; the agent's rules forbade destructive or irreversible git commands unless the user asked",
          "mode": "credential-in-config",
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "inputControl": "operator",
        "agentAction": "Meeting a credential mismatch, the agent decides on its own to delete a Railway volume and calls the API with a token it found, deleting the production volume and, with it, the backups.",
        "harm": "data-loss",
        "divergence": "shortcut",
        "reach": {
          "value": "The production database volume and the volume-level backups stored in the same volume, through a token with authority over the whole Railway API",
          "kinds": [
            "production-database",
            "backups",
            "api-keys"
          ],
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "condition": {
          "value": "When the agent guessed that deleting a staging volume through the API would be scoped to staging, without checking whether the volume ID was shared across environments",
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048103471019434248"
        },
        "recovery": {
          "value": "Railway recovered the database about two and a half days after the deletion; the operator's own most recent backup was three months old.",
          "outcome": "recovered",
          "status": "confirmed",
          "source": "https://x.com/lifeof_jer/status/2048576568109527407"
        }
      },
      "occurrence": {
        "basis": "real-use",
        "reportedBy": "operator",
        "primary": [
          {
            "url": "https://x.com/lifeof_jer/status/2048103471019434248",
            "kind": "operator-account",
            "party": "Jer Crane (@lifeof_jer), PocketOS founder"
          },
          {
            "url": "https://x.com/lifeof_jer/status/2048576568109527407",
            "kind": "operator-account",
            "party": "Jer Crane (@lifeof_jer)"
          },
          {
            "url": "https://x.com/JustJake/status/2048544465993056536",
            "kind": "provider-statement",
            "party": "Jake Cooper, Railway CEO (@JustJake)"
          },
          {
            "url": "https://x.com/JustJake/status/2048583160842334711",
            "kind": "provider-statement",
            "party": "Jake Cooper, Railway CEO (@JustJake)"
          },
          {
            "url": "https://x.com/JustJake/status/2048858437342355868",
            "kind": "provider-statement",
            "party": "Jake Cooper, Railway CEO (@JustJake)"
          },
          {
            "url": "https://x.com/JustJake/status/2048603314137559055",
            "kind": "provider-statement",
            "party": "Jake Cooper, Railway CEO (@JustJake)"
          }
        ],
        "responses": [
          {
            "party": "Railway (Jake Cooper, CEO)",
            "status": "acknowledged",
            "statement": "Apologised to the operator: \"I ack'd it publicly and internally someone told me they had this handled\"; said the CLI and dashboard have undo for all actions and the API \"is for automations but will look into it\".",
            "source": "https://x.com/JustJake/status/2048544465993056536"
          },
          {
            "party": "Railway (Jake Cooper, CEO)",
            "status": "disputed",
            "statement": "Said Railway will honor an authenticated delete call, whether from a user or their agent, and that this user \"handed a fully permissioned Railway API key to Cursor\"; also said Railway had since recovered the database.",
            "source": "https://x.com/JustJake/status/2048583160842334711"
          },
          {
            "party": "Railway (Jake Cooper, CEO)",
            "status": "fixed",
            "statement": "Rolled out changes so API calls use Railway's \"Delayed delete\" workflow, which the CLI and dashboard already used, and noted that Railway keeps user and disaster-recovery backups.",
            "source": "https://x.com/JustJake/status/2048858437342355868"
          }
        ]
      },
      "exploitation": {
        "status": "none-known",
        "checkedAt": "2026-09-22T00:00:00Z",
        "sources": [
          {
            "url": "https://www.theregister.com/2026/04/27/cursoropus_agent_snuffs_out_pocketos/",
            "type": "news",
            "note": "operator account; no attacker"
          }
        ],
        "kev": {
          "listed": false
        }
      },
      "claims": [],
      "reproducibility": {
        "status": "partial",
        "axesComplete": true,
        "componentsObtainable": null,
        "triggerPublished": false,
        "observableStated": true,
        "demonstrated": "reported-only",
        "missing": [
          "model availability not checked (no registry reference)",
          "trigger not published"
        ]
      },
      "severityBasis": "harm-reach",
      "validatedBy": [
        {
          "who": "PickBits",
          "date": "2026-10-10",
          "method": "review",
          "evidence": "https://x.com/lifeof_jer/status/2048103471019434248",
          "note": "Matched to first-hand sources by the maintainer before publication."
        }
      ]
    }
  }
}
