On October 21, Railway detected anomalous activity in systems that store customer environment variables. In its disclosure of the Railway security incident, the cloud platform warned that an unauthorized party “may have accessed encrypted environment variables and, for some of them, obtained the decrypted contents.” Because these variables often hold API keys and database passwords, the stakes are high.
What Railway Says Happened
Railway has not explained how the attacker got in. However, it does offer a motive. “We believe this is part of a series of attacks recently targeting platform companies with the aim of compromising AI inference providers,” the company wrote.
In other words, the attacker likely wanted AI service keys. Railway says it has already asked those upstream providers to revoke all keys as a precaution.
Scope Still Unclear
The company has not shared a count of affected customers. Its “initial analysis suggests the impact may be limited to a subset of users.” Even so, Railway urges every user to act now. It will email affected customers directly once it confirms who they are.
Builds Paused Across the Platform
The Railway security incident also caused a long outage. According to the Railway incident status page, builds and deployments stopped in all regions. For hours, the dashboard, API, CLI and support site were also down.
As of 02:19 UTC on October 22, builds were still offline. Railway plans to restore them in stages, starting with Enterprise workspaces. Pro, Hobby, Free and Trial plans will follow. Meanwhile, the company invalidated OAuth sessions, so some users must log in again.
Railway is also rotating all storage bucket credentials. New credentials appear in the dashboard automatically. Still, customers cannot redeploy to pick them up until builds return.
What Railway Customers Should Do
Railway’s advice is blunt. “We strongly recommend that you immediately roll all environment variables, including any API keys, stored in Railway,” it said. That includes private registry credentials too.
Recommended Steps
- Rotate every secret stored in Railway environment variables.
- Reset PostgreSQL, MySQL, MongoDB and Redis credentials.
- Check OpenAI, Anthropic, OpenRouter and Grok accounts for unexpected usage.
- Review Stripe, GitHub, AWS and GCP logs for unusual activity.
- Reconnect GitHub and redeploy buckets once builds resume.
Some steps need a redeploy, so they must wait. Others, such as revoking keys at the provider, can start right away.
Why This Matters
Platform-as-a-service providers hold secrets for thousands of apps. As a result, one intrusion can spread to many downstream services. Railway’s own guides show how wide the blast radius could be, from payment systems to cloud accounts.
Full details and per-service guides appear in Railway’s October 21 security disclosure. The company says it will post further updates as it narrows the scope.
Support Our Threat Intelligence
Find our threat intelligence and malware analysis helpful? Support our work today and unlock a 100% ad-free reading experience!