Skip to content
← All news
3 min read

Railway says an attacker decrypted some customers' environment variables

Railway says an unauthorized party reached the systems that store customer environment variables and obtained some decrypted values. It has not said how the attacker got in or how many accounts are affected.

Railway's status page opened at 07:24 UTC on October 21. The security notice came at 21:59.

In a security disclosure dated October 21, 2026, Railway's Jacob Cooper wrote that the platform saw "anomalous activity involving systems that store customer environment variables". An unauthorized party "may have accessed encrypted environment variables and, for some of them, obtained the decrypted contents".

The values at risk are the ones apps keep in environment variables: Railway names API keys, database credentials and registry credentials. Railway says its initial analysis suggests the impact "may be limited to a subset of users", and that it will email affected customers once it confirms which accounts were hit. It still asks every user to act. By 07:11 UTC on October 22, the incident on Railway's status page had 35 updates.

It showed up as an outage 14 hours before the notice

Time (UTC)Status page update
Oct 21, 07:24First update: investigating
Oct 21, 09:28Issue identified; fix in progress
Oct 21, 11:33Dashboard, API and CLI unavailable; builds paused in all regions
Oct 21, 20:19OAuth sessions invalidated; Railway says adjacent cache systems were affected
Oct 21, 21:59Security notice published: revoke environment variables and review logs
Oct 21, 22:10All Railway bucket credentials being rotated
Oct 22, 01:22Security guides published, 13 linked
Oct 22, 03:32Builds restored for Enterprise; other tiers to follow in stages
Oct 22, 04:17All Railway API tokens invalidated
Oct 22, 06:29Builds available for Pro and Enterprise
Source: status.railway.com, incident QH8L8B3E.

The status page does not give an exact start time for the activity. A 19:30 UTC update says an issue affecting multiple systems earlier in the day led Railway to pause builds across the platform.

What Railway asks customers to rotate

  • All environment variables stored in Railway, including every API key
  • Private registry credentials
  • Integrations that used a Railway API token, which now need a new one
  • Bucket credentials: Railway rotated these itself, and new values appear in the dashboard

Railway also asks users to review the logs of those services for unusual activity. Some steps in its guides need a redeploy, and a 02:19 UTC update says those had to wait until builds came back. At 07:11 UTC on October 22, builds were available for Pro and Enterprise, with Hobby, Free and Trial still to come.

Railway thinks it was one target in a campaign

Railway writes: "We believe this is part of a series of attacks recently targeting platform companies", with the aim, it says, of compromising AI inference providers. It says it has notified upstream providers "to revoke all keys proactively". Railway does not name the providers or the other platform companies.

What Railway has not disclosed

Railway has not said how the attacker got in, and it has not said how many accounts are affected. It has not said whether any decrypted value was used. It says it will post updates on the disclosure and on the status page "as we narrow the scope of impact."

Why a build studio cares

Our take: a secret stored on a PaaS is exactly as safe as the PaaS, and here encryption at rest did not stop the attacker from reading some values in the clear. The part a customer controls is how much one leaked value can do and how fast it can be replaced. A rotation checklist written during an incident is too late. Railway's own guides ran into a build pause, so some rotations had to wait. Write the list now: each secret, the service that issued it, who can rotate it, and whether the change needs a redeploy. Separate keys for staging and production, each with the narrowest scope its provider allows, keep a leaked staging key a staging problem. Secrets and access governance is part of our Full software audit.

Next step: list the variable names in every Railway service, rotate each secret at the service that issued it first, then update it in Railway, following Railway's disclosure. If you want a second read of your rotation list, write to us at hello@gattyworks.com.

SecurityRailwayCloud PlatformsRailwayRailwayAppEnvironmentVariablesSecretsManagementAPIKeysKeyRotationPaaSDevOpsIncidentResponseCyberSecurity

Ready to know?

Send what you want checked or built. Fixed scope, price, and date in writing inside 24 hours, or the website or audit fee on your first project is refunded in full.

24 clock hours. Weekends included.
Book a call