Railway incident report: October 21 security attack
Incident Report: October 21st Security Attack | Railway Blog
Railway published a detailed incident report on the October 21 security attack: on October 20 the attacker exploited a previously unknown vulnerability in the build infrastructure to partially escape filesystem isolation, steal build credentials and obtain a copy of the internal monorepo; the next day they obtained cloud credentials through a misconfigured OIDC binding and decrypted the environment variables of up to 1.85% (about 100,000) of workspaces, and were fully evicted at 09:24 UTC on October 21. Forensics show the attacker used regular expressions to prioritize matching AI provider keys, and Railway believes these keys were resold to distributed relay stations for distillation; unauthorized consumption of the stolen keys is estimated at about $740,000, and the BYOK proxy keys and GitHub OAuth tokens of 1,852 users were read and have all been reset.
The report reconstructs in detail the attack chain from building a sandbox escape to decrypting customer variables; teams hosting AI keys can use it to check their own credential isolation and encryption design.