Cloud platform Railway reported that an attacker stole AI provider keys from customer workspaces, resulting in an estimated $740,000 in unauthorized AI usage. According to an incident report published Tuesday, Nov. 10, 2026, the breach involved the exploitation of a previously unknown flaw in the company's build system.
The attack began on Oct. 20 when the intruder exploited a flaw to partially escape isolation and retrieve a copy of Railway's internal source code. By scanning the code, the attacker identified a misconfigured trust setting, obtained cloud credentials, and accessed a machine capable of decrypting customer environment variables. Database logs indicate the attacker specifically searched for variable names matching AI provider keys.
Railway stated the attacker used AI models with their safeguards removed during a roughly 26-hour engagement. The intruder was fully removed from the system on Oct. 21. While Railway identified an upper bound of approximately 100,000 workspaces—about 1.85%—that could have had environment variables decrypted, the company noted this is not a confirmed count. Additionally, linked-account tokens for 1,852 users were exposed, though Railway says those tokens have been reset.
Regarding financial recovery, AWS Bedrock and Google Gemini have initiated refunds under fraud policies, while OpenAI is reviewing claims on a case-by-case basis. Because OpenRouter enforces a no-refund policy, Railway stated it will cover those specific costs. The company also said it will cover Anthropic breached-key costs and any losses from providers that refuse refunds.
Railway has filed a complaint with the FBI's IC3 and engaged a forensics firm, noting that all vulnerabilities used in the attack have been closed. The company noted that other entities, including OpenCode, Warp, and Fireworks AI, disclosed similar thefts between Oct. 6 and 23, a wave of activity security firm Wiz referred to as "Black October."