Railway says an unauthorized third party may have accessed encrypted environment variables and, for some, obtained the decrypted contents. Its initial analysis suggests a subset of users, but it recommends that all users rotate every secret stored in Railway and review logs. Railway paused all builds, invalidated all Railway API tokens and rotated all bucket credentials. Its preliminary report (22 Oct) says at most 1.85% of workspaces, about 100,000, had some environment variables potentially compromised. Railway marked the platform outage resolved on 23 Oct; builds and deployments work on all plans. New signups reopened on 2 Nov (new accounts must pick Hobby or Pro before deploying; free trial deployments stay unavailable for now). The forensic investigation is still ongoing and a final report is pending.
What happened
Railway detected anomalous activity on 21 October 2026 involving systems that store customer environment variables. Its investigation so far indicates that an unauthorized third party may have accessed encrypted environment variables and, for some of them, obtained the decrypted contents.
Railway says it believes this is part of a series of attacks on platform companies aimed at compromising AI inference providers, and that it notified those upstream providers to revoke keys proactively. Railway will email customers it confirms as affected.
In response Railway paused all builds, rotated all storage bucket credentials, invalidated OAuth sessions (you may need to log in again) and invalidated all Railway API tokens. Running services were not stopped; you just couldn't deploy new versions while builds were paused.
Railway's preliminary report (published 22 Oct) puts the attack window at 20 Oct 13:58 UTC to 22 Oct 03:32 UTC and says the attacker was trying to obtain AI provider API keys. It says at most 1.85% of all workspaces, about 100,000, had some environment variables potentially compromised, and that it reached out to a larger group it considers high risk (workspaces with very many environment variables or many AI keys). Railway says the attacker did not log into user accounts; it is not ruling out access to user source code and will confirm in its final report.
Railway gave upstream providers (it names GitHub, GitLab, Anthropic, OpenAI, OpenRouter, SpaceXSI and Stripe, among others) the potentially compromised keys to revoke, and for some vendors all keys stored on the platform. A revocation email from one of them doesn't by itself mean your key was decrypted.
Am I affected?
If you have any service on Railway with environment variables, treat those secrets as exposed. Railway's initial analysis points to a subset of users, but it recommends all users act as a precaution while it completes its review. If Railway confirms your account was affected, you'll get an email.
If you only host on other platforms (Vercel, Netlify, Cloudflare Pages, Render, Supabase…), this incident doesn't touch your secrets there. A key you also store in Railway is exposed wherever else you use it, so rotate it everywhere.
Rotation checklist
Rule of thumb: create the new secret at the provider first, put it into Railway, redeploy, then revoke the old one.
- List every variable: open each Railway project → each service → Variables, including shared variables, and note which ones are secrets.
- Database credentials (Postgres, MySQL, MongoDB, Redis on Railway or elsewhere): change the password or create a new user, update the connection URL in Railway. Railway published per-database guides (see sources).
- Stripe: roll the secret key (
sk_live_…) and restricted keys in the Stripe Dashboard → Developers → API keys, and roll webhook signing secrets. Check Stripe logs for API calls, refunds or payouts you didn't make. - AI keys (OpenAI, Anthropic, OpenRouter, xAI and others): create a new key, delete the old one, and check the provider's usage dashboard for spend or requests you don't recognise. Railway says it asked upstream AI providers to revoke keys, so an old key may already be dead: check before you debug a 401.
- GitHub: revoke and recreate personal access tokens and deploy keys stored as variables; check your account's security log and the repository audit log for unexpected access. Reconnect GitHub in Railway if Railway asks you to.
- Railway API tokens: all were invalidated. Create new ones in the Railway dashboard and update CI jobs or scripts that call Railway's API.
- Storage buckets: Railway rotated all bucket credentials; the new ones appear in your dashboard. Redeploy services that use them.
- Everything else: cloud keys (AWS, GCP), email/SMS providers, auth secrets (JWT secret, Clerk/Auth0 keys, Supabase service role key), private registry credentials. Rotating a JWT or session secret logs your users out.
- Redeploy so services pick up the new values: containers read variables only at startup.
- Review logs: the provider usage and audit logs above, plus your service logs on Railway, for unusual activity since 21 October.
Current status
As of 9 Nov 2026 08:40 UTC (09:40 CET): Railway's blog still has no final forensic report. Builds, deployments, the API, the dashboard and station.railway.com work for existing customers. On 2 Nov at 19:19 UTC Railway resolved its recovery incident and reopened new signups: no card is required to create an account, but during the initial reopening new customers must subscribe to Hobby or Pro before deploying, and free trial deployments remain temporarily unavailable. Railway says a follow-up report will come when the investigation concludes. Rotation advice is unchanged: if you have not already, rotate sensitive credentials that were stored in Railway before the incident, revoke the old ones and redeploy.
Separate from this October incident: on 4 Nov Railway opened a status notice about some networks blocking Railway IP addresses after third-party scanning traffic used forged Railway source IPs. Railway says it has found no evidence that notice is tied to the 21 Oct security incident, and that the spoofing does not require access to Railway infrastructure. As of 9 Nov that notice is still open; see our separate page on the Railway IP blocks for how to check and what to send to the blocking network.
- 21 Oct: builds paused on all plans; dashboard, API and support site affected for most of the day.
- 21 Oct, around 22:00 UTC: security notice published; bucket credentials rotation started.
- 22 Oct, 03:32 UTC: builds back for Enterprise.
- 22 Oct, 04:17 UTC: all Railway API tokens invalidated.
- 22 Oct, 06:29 UTC: builds back for Pro.
- 22 Oct, 17:00–22:49 UTC: full API restoration; deployments back for Hobby, Trial and Free (preliminary report).
- 22 Oct, 23:31 UTC: preliminary report published.
- 23 Oct, 18:57 UTC: Railway finished notifying workspaces it considers higher risk.
- 23 Oct, 22:06 UTC: platform outage marked resolved.
- 2 Nov, 19:19 UTC: new signups reopened; recovery incident marked resolved (paid plan required before first deploy; free trial deployments still unavailable).
Common questions
Do I need to rotate my secrets if Railway didn't email me?
Railway recommends that all users rotate the environment variables stored in Railway as a precaution, even though it says the impact may be limited to a subset of users. It emails accounts it confirms as affected.
Can I deploy on Railway again?
Yes. Railway marked the outage resolved on 23 October; builds and deployments work on all plans. New accounts can sign up again since 2 November, but during the initial reopening they must subscribe to Hobby or Pro before deploying, and free trial deployments stay unavailable. If a deploy from GitHub fails, reconnect GitHub: Railway reset the GitHub tokens it held, and says redeploying code from before the incident won't work.
How many Railway users were affected?
Railway's preliminary report says at most 1.85% of all workspaces, about 100,000, had some environment variables potentially compromised. It couldn't tell exactly which variables were decrypted, so it recommends that everyone who signed up before 21 October rotate keys stored on Railway.
My Railway API token stopped working. Why?
Railway invalidated all Railway API tokens on 22 October as part of the response. Create a new token and update any scripts or CI that use it.
Related on VibeLiftoff
- Railway: plans, pricing and deploy guide
- Railway app unreachable on some networks (Nov 2026 IP blocks)
- Northflank security incident (October 2026)
- Environment variables missing after deploy
- Compare all hosts
- React Router Nov 2026 release
- Railway IP blocks
- Next.js Nov 2026 release
- Malicious MCP npm packages
- Northflank incident
- Cursor Claude Code extension
- php2shell (PHP)
- php2shell for WordPress
- All security advisories