Railway's full incident report on the October 20–21 security attack: a threat actor exploited a previously unknown vulnerability in Railway's multi-tenant build infrastructure to partially escape filesystem isolation and steal a build credential. Via a self-hosted Temporal instance that trusted this credential, the attacker read stored build histories (353 builds) and obtained a copy of Railway's internal monorepo, which they used to find a secondary entry point — an erroneous OIDC binding that yielded short-lived cloud credentials. From there they reached an orchestration machine holding a decryption credential, accessed the envelope-encrypted variables database (prioritizing AI provider keys via regex-matched queries), and used the KMS root key to decrypt variables for at most 1.85% (~100,000) of workspaces, plus linked-account tokens (BYOK agent keys, GitHub OAuth tokens) for 1,852 users. Unauthorized spend was estimated at ~$740,000; Railway is coordinating refunds and covering costs where vendors refuse (e.g., OpenRouter). Motive appears to be harvesting AI provider credentials for resale to distillation operations, consistent with Wiz's "Black October" findings.
Response included halting builds twice, revoking all sessions/tokens, rotating credentials and PKIs, and accelerating a new build architecture with per-build ephemeral VMs and a dedicated, narrowly scoped image-push credential. Builds were fully restored by Oct 22 22:49 UTC; new signups were paused until Nov 2. Limitations: the 1.85% figure is an upper bound based on environments, not individual variables; no evidence of customer source code downloads; attribution and post-theft misuse are not fully established; the forensics firm investigation is ongoing, and IOCs are being shared privately pending law-enforcement sign-off.