Railway Security Breach: Rotate Environment Variables Now
No7 Engineering Team
Growth Architecture Unit

Update, 10 November 2026, 14:38 UTC: Railway publishes its full incident report
- The way in was the build system. Railway's incident report, dated 10 November, says that at 07:28 UTC on 20 October the attacker used a previously unknown vulnerability in Railway's multi-tenant build infrastructure to partially escape filesystem isolation. That gave them a credential the build servers use to reach some internal systems. The attacker then chained further exploits and moved laterally until they could decrypt a subset of customer variables, for at most 1.85% (about 100,000) of workspaces.
- The attacker was fully removed at 09:24 UTC on 21 October. Railway says it believes the attacker was specifically after AI provider credentials. It halted builds twice, rotated internal credentials, and invalidated every user session and token at 20:19 UTC on 21 October.
- Builds now run on their own virtual machines. Each build gets a dedicated ephemeral virtual machine on top of the original isolation, with a credential that can only push that build's image to Railway's registry. Railway says the shared systems the attacker used are no longer in use.
- What this means for you. The report adds detail but no new customer action. If you have not yet rotated the secrets in your Railway variables, the rotation steps below still apply.
Update, 3 November 2026, 10:25 UTC: correction to our 29 October status entry
Our status timeline and FAQ said that Railway's 15:45 UTC update on 29 October gave 16:00 UTC on 30 October as the time of its next update. That was wrong. Railway's 29 October message gave no time for its next update. It said Railway would provide an update when signups are restored, which it did at 19:19 UTC on 2 November.
Update, 2 November 2026, 19:19 UTC: Railway reopens signups and resolves the recovery incident
Railway's recovery status page now says new customers can sign up at railway.com again, and that no credit card is needed to create an account. During this initial reopening, new customers must subscribe to a paid plan (Hobby or Pro) before they can deploy, and free trial deployments remain temporarily unavailable.
With signups reopened, Railway marked the recovery incident resolved at 19:19 UTC on 2 November. It asks anyone who runs into problems to open a support thread at station.railway.com.
Update, 27 October 2026, 15:19 UTC: Railway moves recovery updates to once a day
Railway's recovery status page says its engineers are still hardening existing systems, and that new signups remain paused with no date yet for reopening them. Railway will now post there once a day, with extra updates when there is new information. Its next scheduled update is around 16:00 UTC on Wednesday 28 October.
Update, 27 October 2026, 03:20 UTC: Railway's support site is back
At 03:20 UTC on 27 October Railway dismissed its station.railway.com notice with the status line "Dismissed as a notice. No impact." The notice now says the support and community site is restored and support threads can be raised there again. It adds that new signups remain paused and some non-essential product features remain disabled.
If you were emailing support about account recovery, you can now raise the request on station.railway.com instead.
Update, 26 October 2026, 19:12 UTC: Railway opens a recovery status page and adds continuous updates to its report
Railway opened a separate recovery status page, "Railway Recovery after October 21 Incident", and says it is not an announcement of a new incident. On the same day it added a Continuous Updates section to its preliminary incident report.
That section says the security incident is resolved for existing users and that new signups are paused to protect uptime during recovery, with Railway saying it will reopen them this week. Railway says it cannot refund spend made with compromised API keys on AI platforms. It asks affected users to contact the AI provider first, then submit a support request at station.railway.com with timestamps, prompts and other proof of fraudulent spend so Railway can escalate it. Railway also says it is rolling out new builder, encryption and logging systems.
Update, 25 October 2026, 07:50 UTC: Railway closes the API key revocation notice with no impact
At 06:26 UTC on 25 October Railway marked its notice about precautionary API key revocations as resolved, with the status line "Dismissed as a notice. No impact." The notice had explained that a batch of keys Railway sent to OpenAI and Anthropic on 23 October included replacement keys created after the incident.
The earlier advice in that notice still applies: if a provider revoked a replacement key, create a new one, update the matching Railway environment variable and redeploy the services that use it. Keys that still work do not need another rotation.
Update, 24 October 2026, 20:30 UTC: Railway says the latest AI provider key revocations are precautionary
Railway posted a status notice at 13:57 UTC on 24 October saying the platform is not under a new attack. On 23 October, after the attacker's access had been removed at 03:32 UTC on 22 October, AI providers asked Railway for another batch of potentially affected keys. Railway sent that batch to OpenAI and Anthropic, but it could not filter keys by when they were added, so the batch included newer keys. Providers may therefore have revoked replacement keys created after the incident, and Railway says those revocations do not mean the replacement keys were compromised.
If a provider revoked your key, Railway advises creating a replacement, updating the matching Railway environment variable and redeploying the services that use it. If your keys still work, the notice says you do not need to repeat rotations you have already completed. Providers taking action should also contact affected users directly.
Update, 24 October 2026, 17:55 UTC: Railway marks the platform incident resolved
Railway's status page marked the incident resolved at 22:06 UTC on 23 October. It says builds, deployments, the Railway API and the dashboard are operating normally. New signups remain temporarily paused, and station.railway.com remains unavailable, tracked in a separate notice.
The resolved notice repeats the advice to rotate sensitive credentials stored in Railway environment variables, revoke the old credentials and redeploy dependent services. Resolved refers to the platform outage; the preliminary incident report is still Railway's latest account of the security incident itself. Railway has also published a guide to check for anomalous GitHub access, dated 22 October, covering the GitHub security log, authorised apps, SSH keys, personal access tokens and organisation audit logs.
Update, 24 October 2026, 06:40 UTC: Railway guide for deploys that fail after the pause
Railway has published a guide, Recover Failing Deploys, dated 23 October 2026, for services that do not deploy now that deployments are accepted again. It says commits pushed while Railway was not accepting deployments were not queued, so a service keeps running its last successful deployment until you trigger a new one. It names two other causes: GitHub connections revoked during the incident must be reconnected before Railway can pull from your repository, and API tokens and CLI sessions were revoked, so railway up and CI deploys fail until you create new credentials. If you pushed commits during the pause, check that each service is running your latest commit, and if it is not, use Deploy Latest Commit from the Command Palette.
Update, 23 October 2026, 22:03 UTC: Railway support site unavailable, signups paused
A new notice on Railway's status page says its support and community site, station.railway.com, is unavailable while Railway works on restoring it, and that new signups remain temporarily paused while it focuses on existing customers. Railway says the dashboard, API, builds and deployments are not affected, and asks users to contact support by email in the meantime. The notice does not say whether this is linked to the security incident. If you were following the account recovery steps above, send the support request by email rather than through station.railway.com until Railway says the site is back.
Update, 23 October 2026, 20:43 UTC: Railway moves to monitoring and finishes higher-risk notifications
Railway's status page now lists the incident as monitoring. Railway says it completed notifications to users whose workspaces met its criteria for increased risk at 18:57:54 UTC on 23 October, and that no further higher-risk notifications are pending based on its findings as of that time. It also says workspaces outside those higher-risk groups are not confirmed safe from compromise. If you have not rotated the credentials stored in your Railway variables, rotate them now, revoke the old ones, update the variables and redeploy. If you have already rotated since the incident was contained, Railway says this update does not require you to repeat it.
Railway has also published a guide to recovering account access. Because Railway revoked all login sessions, everyone must log in again with the exact Gmail, GitHub account or email they used to sign up. Logging in with a different identity creates a new, empty account. If your projects are missing after logging in, do not create new projects on that empty account: log out and retry with the original identity, or contact Railway support. Support asks for access to the GitHub account connected to Railway and a new public repository named railway-ownership-proof as proof of ownership.
Update, 23 October 2026, 16:38 UTC: Railway publishes its preliminary incident report
Railway has published its preliminary incident report. It says the attack ran from 13:58 UTC on 20 October to 03:32 UTC on 22 October, when Railway confirmed the attacker no longer had access to its internal systems. Early findings point to an attempt to obtain AI provider API keys. The attacker pulled environment variables in encrypted form, and Railway says at most 1.85% of workspaces, about 100,000, had some variables potentially compromised. It is contacting those customers and others it considers high risk, such as workspaces with many variables or many AI provider keys.
According to the report, the attacker did not log in to Railway user accounts, but Railway revoked all Railway access tokens as a precaution, so any CI job or script that uses a Railway token needs a new one. Railway has not yet ruled out access to user source code and says it will confirm this in its final forensic report. Running services stayed online throughout. Railway sent potentially exposed keys to GitHub, GitLab, Anthropic, OpenAI, OpenRouter, Stripe and other vendors for revocation, and some vendors revoked every key, so a revocation email does not by itself mean your key was exposed.
Railway still recommends that customers who signed up before 21 October rotate the keys they store on Railway. It also advises removing public network access to databases, reviewing GitHub audit logs and installed app access, and checking audit logs in registries such as Docker Hub. A new Railway guide covers Google Cloud service account keys.
Update, 23 October 2026, 09:34 UTC: reconnect GitHub if deployments fail
The Railway status page reminds users that if deployments are failing, they may need to disconnect and reconnect their GitHub integration, and that redeploying code from before the incident will not work and results in an error. Builds and deployments are otherwise running normally.
Update, 23 October 2026, 08:09 UTC: very-high-likelihood customers emailed, more cohorts under analysis
The Railway status page says Railway has emailed customers with a very high likelihood of impact and is still running forensic analysis to find further cohorts that may have been affected. Not receiving an email yet does not rule your account out, so keep rotating the secrets you stored in Railway. Railway still expects its preliminary report by noon Eastern Time. Builds and deployments on all plans are proceeding normally, and new signups remain temporarily paused. Earlier, at 07:37 UTC, Railway said builds could stay queued while it deployed an upgrade to its build system, which it says is not related to the security disclosure.
Update, 23 October 2026, 03:00 UTC: notification emails will take hours, report due around midday Eastern Time
The Railway status page says Railway is still sending notification emails to impacted customers and expects this to take at least several more hours, without a reliable estimate for when all emails will be sent. Railway still plans to publish its Preliminary Incident Report around midday Eastern Time on 23 October. Until your email arrives, treat every secret stored in Railway as exposed and keep rotating.
Update, 23 October 2026, 02:00 UTC: Railway is emailing impacted customers, report delayed
The Railway status page says Railway is now notifying impacted customers by email, and at 02:19 UTC it said it was still sending those notifications and will update the status page once all have gone out. Check the inbox of every address on your Railway account, including spam folders. Railway had been targeting publication of its Preliminary Incident Report overnight but says it needs more time before the report is ready. Builds and deployments on all plans remain available and new signups remain temporarily paused.
Update, 22 October 2026, 23:22 UTC: preliminary incident report coming
The Railway status page says builds and deployments for Enterprise, Pro, Hobby, Trial and Free workspaces continue to run at approximately normal speed, and that Railway is working to publish its Preliminary Incident Report soon. New signups remain temporarily paused.
Update, 22 October 2026, 22:49 UTC: builds available on every plan, including Free and Trial
The Railway status page says builds are now available for Free and Trial workspaces, alongside Hobby, Pro and Enterprise, and that builds and deployments across all five plans are running at approximately normal speed. New signups remain temporarily paused while Railway focuses on existing customers.
Update, 22 October 2026, 21:08 UTC: builds available again for Hobby workspaces
The Railway status page says builds are now available for Hobby workspaces, though Hobby deployments are likely to take longer than usual while Railway works through demand. Once Hobby is stable, Railway will work on enabling builds for Free and Trial workspaces. New signups remain temporarily paused. Pro and Enterprise builds and deployments continue to start normally but may take longer to complete. Railway points users to the security guides on its engineering blog for the next steps relevant to their setup.
Update, 22 October 2026, 19:06 UTC: new Railway signups paused
The Railway status page says Railway has temporarily paused new signups to focus on making sure everything works for existing customers, and will post when signups are available again. Builds and deployments for Pro and Enterprise workspaces continue to run normally, and builds for Hobby, followed by Free and Trial, are still being enabled.
Update, 22 October 2026, 18:49 UTC: US West deployment failures fixed, redeploy if affected
At 18:42 UTC the Railway status page reported that some deployments in US West were failing even after their build completed successfully; other regions were not affected. By 18:49 UTC deployments in US West were working normally again. If a deployment in US West failed after its build completed, Railway asks you to redeploy the service.
Update, 22 October 2026, 17:00 UTC: API restored, old API and Project Tokens invalidated
The Railway status page says the API is fully restored, including features that were temporarily unavailable. API tokens and Project Tokens created before the security incident remain invalidated, so if you use the Public API or the CLI with a token, create a new one. Railway says the earlier build failures should now be resolved; if a build still fails shortly after it starts, retry it once. Builds for Hobby, then Free and Trial are planned for later today, and Railway says it will publish a full incident report on its blog once the incident is resolved.
Update, 22 October 2026, 16:14 UTC: Pro and Enterprise back to normal speed, Hobby next
The Railway status page says deployments for Pro and Enterprise workspaces are now running at normal speed, and Railway is working to enable builds for Hobby next. Railway is aware that some builds fail shortly after they start and is working on a fix; if your build fails this way, it asks you to retry it once.
Update, 22 October 2026, 15:29 UTC: Pro and Enterprise deployments running slower
Since 14:50 UTC the Railway status page has reported that deployments for Pro and Enterprise workspaces are running a little slower than usual, and some may take longer than expected to complete, while Railway works to bring them back to normal speed. Builds for Hobby, Free and Trial are not yet re-enabled; Railway says it will post on the status page when they are.
Update, 22 October 2026, 13:53 UTC: deployment queue cleared for Pro and Enterprise
The Railway status page says the queue of delayed deployments has been worked through and deployments for Pro and Enterprise workspaces now start at normal speed. Railway says no action is needed for deployments that were queued. Builds for Hobby, then Free and Trial are still being enabled, and Railway will post on the status page as each one is.
Update, 22 October 2026, 13:16 UTC: deployment queue close to normal
The Railway status page says Railway has almost worked through the queue of delayed deployments and wait times are close to normal, though a small number of deployments may still take longer than usual to start. Builds remain available for Pro and Enterprise workspaces, and Railway is still working on Hobby, then Free and Trial.
Update, 22 October 2026, 12:20 UTC: Railway reset bucket and GitHub credentials
Railway now says it has reset two credential types on customers' behalf, and it has published rotation guides for its database templates and for AI providers.
- Storage buckets. According to Railway's reset guide, the
ACCESS_KEY_IDandSECRET_ACCESS_KEYfor every bucket in every environment were regenerated, and the old values no longer work. Containers read variables only at startup, so redeploy every service that uses a bucket. - GitHub. Railway invalidated the GitHub tokens it held for account connections and removed GitHub access tokens stored as registry credentials on services. Those registry tokens still work on GitHub until you revoke them, so revoke them on GitHub and reconnect GitHub to Railway yourself. The resets show in the workspace audit log with the actor type Railway Staff.
- Databases. Railway's guides for PostgreSQL, MySQL, Redis and MongoDB use Regenerate in the Database View. For PostgreSQL, Railway says that if Public Access is enabled the credential is usable from anywhere on the internet until you rotate, and to remove public access if nothing outside the project needs it.
- AI providers. Railway has guides for unexpected usage on OpenAI, Anthropic, Grok and OpenRouter: revoke the exposed key, deploy a new one and review usage and billing.
Update, 22 October 2026, 11:47 UTC: AWS and Google Cloud key checks
Railway has published two more guides as part of its response. As of 11:47 UTC, the status page says deployment wait times are coming down, builds remain available for Pro and Enterprise workspaces, and Railway is working on Hobby, then Free and Trial.
- AWS access keys. Railway's AWS guide says to create a replacement key, deactivate the exposed one, update
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYin Railway and deploy, then review CloudTrail and billing for activity you did not generate. - Google Cloud service account keys. Railway's Google Cloud guide says to create a new key, disable the exposed one, deploy the new JSON and review Cloud Audit Logs. Tokens already issued from a disabled key stay valid for up to an hour, so disable the whole service account if you need to cut access immediately.
The Railway security breach is an incident Railway disclosed on 21 October 2026: an unauthorised third party may have accessed encrypted environment variables on the platform and, for some of them, obtained the decrypted contents. Environment variables often hold API keys and database and registry credentials. Railway recommends that every user immediately roll all environment variables stored in Railway, including API keys and private registry credentials, and review logs for unusual activity.
Railway security incident: what happened?
According to Railway's disclosure, it detected anomalous activity involving the systems that store customer environment variables. Railway believes it is part of a series of attacks recently targeting platform companies with the aim of compromising AI inference providers, and says it has notified those upstream providers to revoke keys proactively.
Railway's initial analysis suggests the impact may be limited to a subset of users, but it recommends the same precautions for everyone while it completes its review. It will email affected customers directly once it confirms which accounts were affected.
Railway status: are deployments paused?
Deployments were paused during the investigation. The Railway status page has reported the recovery in stages on 22 October 2026:
- 11:01 UTC. Queued deployments were starting again, more slowly than usual. Builds were available for Pro and Enterprise workspaces, with Hobby, then Free and Trial to follow.
- 11:47 UTC. Deployment wait times were coming down, though some deployments could still take longer than usual to start. Builds remained limited to Pro and Enterprise.
- 13:16 UTC. Railway had almost worked through the queue of delayed deployments and wait times were close to normal, though a small number of deployments could still take longer than usual to start. Builds remained limited to Pro and Enterprise, with Hobby, then Free and Trial to follow.
- 13:53 UTC. The queue of delayed deployments had been worked through and Pro and Enterprise deployments were starting at normal speed, with no action needed for queued deployments. Builds for Hobby, then Free and Trial were still being enabled.
- 14:50 UTC. Pro and Enterprise deployments were running a little slower than usual, and some could take longer than expected to complete. Builds for Hobby, then Free and Trial were still being enabled.
- 15:29 UTC. Pro and Enterprise deployments were still running a little slower than usual. Builds for Hobby, Free and Trial had not yet been re-enabled.
- 16:14 UTC. Pro and Enterprise deployments were running at normal speed and Railway was working to enable builds for Hobby next. Some builds were failing shortly after they started; Railway asked users to retry such a build once while it worked on a fix.
- 17:00 UTC. The API was fully restored. API tokens and Project Tokens created before the incident remained invalidated, so Public API and CLI users needed new tokens. Earlier build failures should be resolved, and builds for Hobby, then Free and Trial were planned for later in the day.
- 18:42 UTC. Some deployments in US West were failing even after their build completed; other regions were not affected.
- 18:49 UTC. US West deployments were working normally again, and Railway asked users to redeploy any US West service whose deployment failed after the build completed.
- 19:06 UTC. Railway temporarily paused new signups. Pro and Enterprise builds and deployments were running normally, and builds for Hobby, followed by Free and Trial, were still being enabled.
- 21:08 UTC. Builds were available again for Hobby workspaces, with Hobby deployments likely to take longer than usual. Free and Trial were to follow once Hobby was stable, and new signups remained paused.
- 22:41 UTC. Builds and deployments for Hobby, Pro and Enterprise workspaces were running at approximately normal speed, with Free and Trial still to follow.
- 22:49 UTC. Builds were available for Free and Trial workspaces as well, so all five plans could build again, at approximately normal speed. New signups remained paused.
- 23:22 UTC. All plans were still running at approximately normal speed, and Railway said it was working to publish its Preliminary Incident Report soon.
- 02:00 UTC, 23 October. Railway said its Preliminary Incident Report needed more time and that it was notifying impacted customers by email. Builds and deployments on all plans remained available.
- 02:19 UTC, 23 October. Railway was still sending notification emails to impacted customers and said it would update the status page once all had been sent.
- 03:00 UTC, 23 October. Railway expected sending notification emails to take at least several more hours and still planned to publish its Preliminary Incident Report around midday Eastern Time on 23 October.
- 07:37 UTC, 23 October. Builds could stay queued while Railway deployed an upgrade to its build system, which Railway said was not related to the security disclosure.
- 08:09 UTC, 23 October. Railway had emailed customers with a very high likelihood of impact and was still running forensic analysis to find further cohorts. Builds and deployments on all plans were proceeding normally, and the preliminary report was still expected by noon Eastern Time.
- 09:34 UTC, 23 October. Railway reminded users that failing deployments may need the GitHub integration disconnected and reconnected, and that redeploying code from before the incident results in an error. Builds and deployments were otherwise running normally.
- 16:15 UTC, 23 October. Railway repeated that users facing deployment issues may need to disconnect and reconnect the GitHub integration.
- 16:38 UTC, 23 October. Railway said it was publishing the preliminary report.
- 19:18 UTC, 23 October. Railway linked the preliminary report and said its investigation is still ongoing, that it is still contacting customers it believes are at risk, and that its team will stay on the matter until everyone at risk has been notified.
- 20:43 UTC, 23 October. Railway moved the incident to monitoring, said its higher-risk notifications were completed at 18:57:54 UTC with none pending, and asked users who have not rotated their credentials to do so.
- 22:03 UTC, 23 October. A separate notice said station.railway.com, Railway's support and community site, is unavailable and new signups remain paused; the dashboard, API, builds and deployments are not affected.
- 22:06 UTC, 23 October. Railway marked the incident resolved: builds, deployments, the API and the dashboard are operating normally, signups remain paused and station.railway.com is tracked in a separate notice.
- 13:57 UTC, 24 October. A separate notice said recent API key revocations by AI providers are precautionary: a batch of keys Railway sent to OpenAI and Anthropic on 23 October included replacement keys created after the incident, and Railway is not under a new attack.
- 06:26 UTC, 25 October. Railway marked the API key revocation notice resolved: "Dismissed as a notice. No impact."
- 19:12 UTC, 26 October. Railway opened a separate recovery status page, saying it is not a new incident, and added a Continuous Updates section to its preliminary report.
- 03:20 UTC, 27 October. Railway dismissed the station.railway.com notice, which now says the support site is restored.
- 15:19 UTC, 27 October. Railway said new signups remain paused with no date yet for reopening them, and that it will post recovery updates once a day.
- 15:27 UTC, 28 October. Railway said it is still working on restoring new signups, which remain paused while it prioritises reliability for existing customers, and that its next update will be by 16:00 UTC on Thursday 29 October.
- 15:45 UTC, 29 October. Railway said work to restore new signups is ongoing, with reliability for existing customers still its priority. Signups remain paused and there is no reopening date yet. Its next update will be by 16:00 UTC on Friday 30 October.
- 19:19 UTC, 2 November. Railway said new customers can sign up again, with no credit card needed to create an account. New customers must subscribe to the Hobby or Pro plan before deploying, and free trial deployments remain temporarily unavailable. Railway then marked the recovery incident resolved.
Railway asks users not to trigger the same deployment more than once. Railway's disclosure does not say whether already running services were affected; check the status page for the current state before you plan a rollout.
What should Railway users do now?
- Rotate every secret stored in Railway. Treat all environment variables as exposed: payment keys, database passwords, registry tokens, AI provider keys, OAuth client secrets and webhook signing secrets. Create the new credential at the provider, update Railway, deploy, then revoke the old one. If your plan cannot deploy yet, keep the old credential alive only until the new one is deployed.
- Update Railway and deploy the change. In Railway, variable edits are staged changes: nothing reaches running services until you click Deploy, which redeploys every affected service. From the CLI,
railway variable setsets a value and triggers a redeploy; add--skip-deploysto stage several changes and deploy them once. Railway's credential rotation guide covers rotating without downtime. - Check for misuse. Review provider logs and dashboards for activity you do not recognise, starting with anything that moves money or customer data.
- Expect revoked AI keys. Railway says it notified upstream AI inference providers to revoke keys proactively, so check whether any AI provider keys stored in Railway still work, and replace them if they do not.
Is Railway safe to use after the breach?
Railway's initial analysis suggests the impact may be limited to a subset of users, and it says it will email affected customers and post updates as it narrows the scope. Until it publishes its findings, nobody outside Railway can say more. What matters for you today is the same whether you stay or move: any secret that was stored in Railway should be treated as exposed. Moving to another host does not undo that, so rotate first and make any hosting decision afterwards.
Stripe keys: rotate first, investigate second
For stores and SaaS apps, we would rotate Stripe keys first. Railway's Stripe guidance quotes Stripe's rule that a key that reached a public repository or a log line is treated as compromised even without evidence of use, and applies it here: rotate first, investigate second.
- Rotate the secret or restricted key. In the Stripe Dashboard, rotate the key on the API keys page. Stripe lets you set a delayed expiration of up to 7 days on the old key. Use that only to bridge the gap until you can deploy the new key, keep it as short as possible, and expire the old key as soon as the new one is live.
- Roll webhook signing secrets. If a webhook signing secret was stored in Railway, roll it too. Stripe lets you delay the old secret's expiration for up to 24 hours while you update your server.
- Move to restricted keys. Stripe's API key documentation recommends restricted keys with only the permissions an integration needs, which limits the damage if a key leaks again.
- Review the account. Look for charges, refunds, payouts or connected accounts you do not recognise, and check the request logs for calls your app did not make.
Shopify apps and headless stores on Railway
If a Shopify app or headless storefront runs on Railway, its client secret and access tokens may have been in its environment. Shopify's credential management guide explains how to rotate a client secret in the Dev Dashboard. For routine rotation it replaces stored access tokens before revoking the old secret, to avoid downtime. If a secret is actively being misused, Shopify says to revoke the exposed secret immediately, accepting that merchants lose access until the new one is in place. Our Shopify app development team can help rotate app credentials safely.
What to do next
Make a list of every secret your Railway services use and rotate them today, Stripe and database credentials first. Deploy the changes once builds are available for your plan, then watch provider logs for a few days. If you also run PHP or Node.js, patch those runtimes too: the PHP2Shell and Node.js security release fixes came out the same day.
Frequently Asked Questions
The questions buyers and engineers ask us most about this topic.
What happened in the Railway security breach?
On 21 October 2026 Railway disclosed anomalous activity on systems that store customer environment variables. An unauthorised third party may have accessed encrypted variables and may have obtained the decrypted contents of some. Railway recommends all users roll every environment variable and review logs.
Should I rotate my Stripe keys after the Railway breach?
Yes, if a Stripe key was stored in Railway. Railway's guidance follows Stripe's rule to rotate first and investigate second: rotate the key in the Stripe Dashboard, roll webhook signing secrets, and check for charges, refunds or payouts you do not recognise.
Are Railway deployments paused after the security incident?
Deployments were paused during the investigation. Status updates on 22 October 2026: at 11:01 UTC queued deployments were starting again and builds were available for Pro and Enterprise workspaces, with Hobby, Free and Trial to follow; at 11:47 UTC deployment wait times were coming down; at 13:16 UTC wait times were close to normal; at 13:53 UTC the deployment queue had cleared; at 15:29 UTC Pro and Enterprise deployments were running a little slower than usual; at 16:14 UTC Pro and Enterprise deployments were running at normal speed and Railway was working to enable builds for Hobby next. At 17:00 UTC the API was fully restored, API and Project Tokens created before the incident stayed invalidated, and builds for Hobby, then Free and Trial were planned for later that day. At 18:42 UTC some US West deployments were failing after their build completed, and by 18:49 UTC they were working again, with Railway asking affected users to redeploy. At 19:06 UTC Railway temporarily paused new signups while Hobby, Free and Trial builds were still being enabled. At 21:08 UTC builds became available for Hobby workspaces, with Free and Trial to follow once Hobby was stable. At 22:49 UTC builds were available for Free and Trial too, so every plan could build again at approximately normal speed, and at 23:22 UTC Railway said a Preliminary Incident Report would follow soon. At 02:00 UTC on 23 October Railway said the report needed more time and began emailing impacted customers. At 03:00 UTC it said the emails would take at least several more hours and that the Preliminary Incident Report was planned for around midday Eastern Time on 23 October. At 08:09 UTC Railway said it had emailed customers with a very high likelihood of impact and was still analysing which further customers may be affected. At 09:34 UTC Railway reminded users that failing deployments may need GitHub disconnected and reconnected, and that redeploying pre-incident code results in an error. At 16:15 UTC on 23 October Railway repeated the GitHub reconnect advice, and at 16:38 UTC it said it was publishing its preliminary incident report. At 19:18 UTC Railway linked the published report and said it is still contacting customers it believes are at risk. At 20:43 UTC Railway moved the incident to monitoring and said its higher-risk notifications were complete. A 22:03 UTC notice said builds and deployments are not affected while the station.railway.com support site is unavailable and new signups are paused. At 22:06 UTC Railway marked the incident resolved, with builds, deployments, the API and the dashboard operating normally and signups still paused. At 13:57 UTC on 24 October a separate notice said recent API key revocations by OpenAI and Anthropic were precautionary rather than a new incident; if a replacement key was revoked, create a new one, update the Railway environment variable and redeploy. At 06:26 UTC on 25 October Railway marked that notice resolved, dismissed as a notice with no impact. At 19:12 UTC on 26 October Railway opened a separate recovery status page, saying it is not a new incident, and at 03:20 UTC on 27 October it dismissed the station.railway.com notice, which now says the support site is restored. At 15:19 UTC on 27 October Railway said new signups remain paused with no date yet for reopening them, and that it will post recovery updates once a day. At 15:27 UTC on 28 October Railway said it is still working on restoring new signups, which remain paused, and that its next update will be by 16:00 UTC on 29 October. At 15:45 UTC on 29 October Railway said signups are still paused with no reopening date yet, and that its next update will be by 16:00 UTC on 30 October. At 19:19 UTC on 2 November Railway reopened signups for new customers, who must subscribe to the Hobby or Pro plan before deploying while free trial deployments remain temporarily unavailable, and marked the recovery incident resolved. Correction: Railway's 15:45 UTC update on 29 October did not give a time for its next update; it said Railway would post again when signups were restored. Check status.railway.com for the current state.
Is Railway safe to use after the breach?
Railway says its initial analysis suggests the impact may be limited to a subset of users and that it will email affected customers. Whether you stay or move, treat every secret stored in Railway as exposed and rotate it; moving to another host does not undo the exposure.
Did Railway reset any credentials itself?
Yes. Railway says it regenerated the S3 credentials for every storage bucket and invalidated the GitHub tokens it held, removing GitHub tokens stored as registry credentials. Redeploy services that use buckets, revoke those registry tokens on GitHub and reconnect GitHub to Railway.
What should I do with AWS or Google Cloud keys stored in Railway?
Railway's guides say to create a replacement key, deactivate or disable the exposed one, deploy the new key and review CloudTrail or Cloud Audit Logs. Google Cloud tokens already issued from a disabled key stay valid for up to an hour.