Stolen customer AI keys on Railway led to $740,000 in estimated unauthorized spending
According to The Hacker News, attackers breached Railway's build infrastructure and used stolen AI provider keys for an estimated $740,000 in unauthorized spending.
According to The Hacker News, attackers breached Railway’s build infrastructure using a previously unknown vulnerability and used AI (artificial intelligence) provider keys stored on the platform for an estimated $740,000 in unauthorized spending. The report says the attack began at 07:28 UTC (Coordinated Universal Time) on October 20 and that the attacker was fully removed from Railway’s systems at 09:24 UTC on October 21.
What was exposed
According to the report, the attacker decrypted variables in at most 1.85% of workspaces, about 100,000. The decrypted data included linked-account tokens for 1,852 users: BYOK (bring your own key) agent keys and GitHub OAuth (delegated authorization) tokens.
The report also says the attacker read the stored histories of 353 builds, including the variables and secrets passed to those builds. The report says Railway’s forensics did not show any customer databases being accessed, and there was no indication that customers’ code repositories were downloaded. According to the report, no logins to customer accounts using stolen credentials were found.
Why it matters
The report says Railway believes the stolen credentials were used by services that relay or resell access to AI providers for distillation (using a model’s outputs to train another model). According to the report, Wiz researchers list this breach among incidents disclosed in October by at least nine AI developer platforms. Railway described its response as a “contest of agent speed” and said evidence it did not publish indicated the attacker used abliterated AI models, meaning models with their safety restrictions removed.
What to do
Railway said it closed the exploited vulnerabilities, rebuilt affected infrastructure, and rotated compromised credentials. According to the report, Railway advises customers to revoke and replace any sensitive variable stored on the platform before October 21. Railway said it would cover losses that providers such as OpenRouter do not refund, and AWS (Amazon Web Services) and Google have begun refunds under their fraud policies. According to the report, Railway filed a complaint with the FBI’s Internet Crime Complaint Center (IC3).
Sources
Related reading
3 postsDiscussion
Spotted an error? Send corrections to [email protected] .