Railway Says Customer Secrets May Have Been Decrypted. Customers Saw Abuse Hours Before the Warning.
By AgentRiot Editorial
The hosting platform told users to rotate every environment variable at 5:51 PM ET. Its status page had shown builds paused since 3:24 AM, and customers were reporting misused API keys by 1:09 PM.

Update, 11:00 PM ET, October 22: Railway says it is still sending notification emails to impacted customers (opens in new tab) and, at the current pace, expects that to take at least several more hours, with no reliable estimate of when sending will finish. It now plans to publish its Preliminary Incident Report around midday Eastern Time on October 23.
Update, 10:00 PM ET, October 22: Railway says it is notifying impacted customers by email (opens in new tab) and will update the status page once those notices have all gone out. It had been targeting a Preliminary Incident Report tonight but says it needs more time before that report is ready to publish. Builds across all five plans remain available; new signups remain paused.
Update, 6:49 PM ET, October 22: Railway says builds are now available for Free and Trial workspaces (opens in new tab), alongside Hobby, Pro and Enterprise. Free and Trial customers can now complete the published guides that require a redeploy. Builds across all five plans (opens in new tab) are running at approximately normal speed.
Update, 5:08 PM ET, October 22: Railway says builds are now available for Hobby workspaces (opens in new tab). Hobby customers can now complete the published guides that require a redeploy. Free and Trial (opens in new tab) remain paused.
Update, 1:00 PM ET, October 22: Railway says the API is now fully restored (opens in new tab), including features that were temporarily unavailable. API tokens and Project Tokens created before the incident remain invalidated, so Public API and CLI users need new tokens. Hobby, Free and Trial (opens in new tab) builds are still paused.
Update, 2:29 AM ET, October 22: Railway says builds for Pro and Enterprise workspaces are now available (opens in new tab). Pro customers can now complete the published guides that require a redeploy. Hobby, Free and Trial (opens in new tab) remain paused.
Update, 12:17 AM ET, October 22: Railway invalidated all Railway API tokens (opens in new tab). Tokens used with Railway's Public API no longer work. The company says (opens in new tab) users must create new tokens to keep using that API.
Update, 11:32 PM ET, October 21: Railway says builds for Enterprise workspaces are now available (opens in new tab). Enterprise customers can complete the published guides that require a redeploy, including applying new credentials added in Railway. Pro, Hobby, then Free and Trial (opens in new tab) will follow in stages.
Update, 9:22 PM ET, October 21: Railway published a set of next-step guides (opens in new tab) for checking unexpected usage at OpenAI, Anthropic, OpenRouter, Grok, Stripe, GitHub, AWS and GCP, and for rotating PostgreSQL, MongoDB, Redis and MySQL credentials. A separate bucket and GitHub guide (opens in new tab) says Railway also reset GitHub tokens it held. The status page (opens in new tab) says many of those steps require a redeploy, which customers still cannot complete because builds remain paused.
Railway, the app hosting platform, disclosed on Wednesday that an attacker may have read customer environment variables and decrypted some of them. Those variables are where most teams keep API keys, database passwords and registry credentials.
The company posted the notice on X (opens in new tab) at 5:51 PM ET. By the time it went out, customers had been reporting misused keys for more than four and a half hours, and Railway's founder had publicly floated a possible attack vector more than two hours earlier.
What happened
According to Railway's security disclosure (opens in new tab), signed by founder Jacob Cooper:
"Earlier this morning, Railway detected anomalous activity involving systems that store customer environment variables."
The notice says "an unauthorized third party may have accessed encrypted environment variables and, for some of them, obtained the decrypted contents."
Railway ties the breach to a wider campaign: "We believe this is part of a series of attacks recently targeting platform companies with the aim of compromising AI inference providers." It says it has asked those upstream providers to revoke keys proactively.
The company recommends that all users roll every environment variable, every API key and any private registry credentials, and review service logs. It also says impact "may be limited to a subset of users," and that affected accounts will be contacted by email.
The original notice said all deployments were paused: "Until builds are restored, you will not be able to roll out new versions." Enterprise builds later returned at 11:32 PM ET, Pro builds at 2:29 AM ET, Hobby builds at 5:08 PM ET, and Free and Trial builds at 6:49 PM ET.
Timeline (all times ET)
| Time | Event | Source |
|---|---|---|
| 3:24 AM | First status entry, "Investigating." @railway_status posts "Builds are temporarily paused." | status.railway.com (opens in new tab), X (opens in new tab) |
| 5:28 AM | Status: issues on Railway's backend as well, still investigating. | status.railway.com (opens in new tab) |
| 7:33 AM | Status: issue identified. Dashboard, API and CLI unavailable, builds paused in all regions. | status.railway.com (opens in new tab) |
| 1:09 PM | First public customer report we found linking a misused OpenAI key to a Railway build. | @anton_nashh (opens in new tab) |
| 3:11 PM | Cooper on X: "Abuse cat and mouse over the last 24 hours." | @JustJake (opens in new tab) |
| 3:18 PM | A user replies to Cooper: "Looks like you have security incident." | @anton_nashh (opens in new tab) |
| 3:29 PM | Cooper: leaked Railway invite codes "could be a vector." | @JustJake (opens in new tab) |
| 4:19 PM | Status: OAuth sessions invalidated "due to impact from adjacent cache systems." | status.railway.com (opens in new tab) |
| 4:35 PM | Status: validating builds for Enterprise workspaces. | status.railway.com (opens in new tab) |
| 5:51 PM | Railway posts the security notice on X. | @Railway (opens in new tab) |
| 5:59 PM | Status page links the notice. First status entry to mention security. | status.railway.com (opens in new tab) |
| 6:10 PM | Railway begins rotating all storage bucket credentials. | status.railway.com (opens in new tab) |
| 6:45 PM | Status: bucket credential revocations will show in audit logs under employee "Faraz Patankar." | status.railway.com (opens in new tab) |
| 9:22 PM | Status: published next-step guides for OpenAI, Anthropic, OpenRouter, Grok, Stripe, GitHub, AWS, GCP and database credential rotation. Builds still paused. | status.railway.com (opens in new tab), X (opens in new tab) |
| 11:32 PM | Status: builds for Enterprise workspaces are now available. Pro, Hobby, then Free and Trial will follow in stages. | status.railway.com (opens in new tab), X (opens in new tab) |
| 12:17 AM | Oct 22 status: invalidated all Railway API tokens for the Public API. Users must create new tokens. | status.railway.com (opens in new tab), X (opens in new tab) |
| 2:29 AM | Oct 22 status: builds for Pro and Enterprise workspaces are now available. Hobby, Free and Trial remain paused. | status.railway.com (opens in new tab), X (opens in new tab) |
| 1:00 PM | Oct 22 status: API fully restored. Pre-incident API tokens and Project Tokens remain invalidated. Hobby, Free and Trial still paused. | status.railway.com (opens in new tab), X (opens in new tab) |
| 5:08 PM | Oct 22 status: builds for Hobby workspaces are now available. Free and Trial remain paused. | status.railway.com (opens in new tab), X (opens in new tab) |
| 6:49 PM | Oct 22 status: builds for Free and Trial workspaces are now available, alongside Hobby, Pro and Enterprise. | status.railway.com (opens in new tab), X (opens in new tab) |
| 10:00 PM | Oct 22 status: notifying impacted customers by email. Preliminary Incident Report delayed past tonight. | status.railway.com (opens in new tab) |
| 11:00 PM | Oct 22 status: still sending notification emails; PIR planned around midday ET October 23. | status.railway.com (opens in new tab), X (opens in new tab) |
As of 11:00 PM ET, Railway says it is still sending notification emails to impacted customers and plans a Preliminary Incident Report around midday Eastern Time on October 23. Builds for Free, Trial, Hobby, Pro and Enterprise workspaces remain available. The API remains fully restored. New signups remain paused.
What Railway has and hasn't said
Cooper followed the notice with a thread on X (opens in new tab) at 6:04 PM: "Today, we were alerted of malicious activity that compromised Railway's servers." In a follow-up (opens in new tab) he wrote: "At this time, we believe to have both mitigated the attack vector and that it affects a small subset of users. We are moving extremely quickly and prefer to notify swiftly and broadly as we take these things seriously."
Railway staffer Noah (@itsnoahd (opens in new tab)) said the company "will be releasing a post mortem covering our next steps but security is first on the list of next things we're doing."
Railway has not said:
- How the attacker got in. Cooper's invite code comment, posted before the notice (opens in new tab), is the only vector anyone at Railway has named, and he called it a possibility.
- How encrypted values were decrypted, or where the decryption keys were held.
- Which AI inference providers were targeted or notified. It has published check-usage guides for OpenAI, Anthropic, OpenRouter and Grok, plus Stripe, GitHub, AWS and GCP, without saying those were the providers it notified.
- How many customers are in the "subset."
What customers are reporting
The posts below are self-reports from X. AgentRiot has not verified them.
- @anton_nashh (opens in new tab) (1:09 PM): "My friend @andyocn spotted suspicious usage on his OpenAI API key today. We investigated and found it had been used in a @Railway build."
- @dinogomez (opens in new tab) (5:33 PM): "my OpenRouter API Keys that were stored in my project had a suspicious usage rise of models I'm not even using during this Major Outage."
- @dobroslav_dev (opens in new tab) (5:56 PM): "My @OpenRouter API key was drained! It's only on railway, nowhere else"
- @nbarreto (opens in new tab) (6:22 PM): "Anthropic has proactively revoked an exposed api key"
- @KavsonTech (opens in new tab) (6:38 PM): "my aws was accessed today using my key on railway"
- @jacobferrari_ (opens in new tab) (7:12 PM): "Open ai just revoked my key after it detected it was in the railway breach"
An account identifying itself as OpenRouter developer relations, @jjacky (opens in new tab), replied to one affected user: "please revoke your key ASAP on the openrouter dashboard."
The loudest complaint is a contradiction in the instructions. Railway says rotate everything, but deploys were paused, so a new key could not reach a running service. That bind is now lifted. Builds are available again across Free, Trial, Hobby, Pro and Enterprise. One of the most viewed replies (opens in new tab) to Railway's notice: "You want us to roll our secrets but are not giving us the ability to redeploy with the new secrets?" @PixBuilds (opens in new tab) put the bind plainly: "if i rotate now my app breaks, and if i don't, someone else might have my keys."
The disclosure delay
Railway's own notice says it detected the activity "earlier this morning." Its first security warning went out at 5:51 PM.
Between 3:24 AM and 5:59 PM, the status page described an outage. It mentioned paused builds, a down dashboard and "adjacent cache systems." It never mentioned a security incident.
Measured against the public record, the warning came:
- About 14 and a half hours after the first incident entry on the status page (3:24 AM).
- About 4 hours 40 minutes after the first public customer report of a misused key that we found (1:09 PM).
- About 2 hours 20 minutes after Cooper publicly named leaked invite codes as a possible vector (3:29 PM).
- About 1 hour 30 minutes after Railway invalidated OAuth sessions as part of its mitigation (4:19 PM).
The 3:29 PM reply is the clearest marker. The OAuth step was described as cache-related, but by 3:29 PM Railway's founder was discussing an attack vector in public replies, while the status page still described an outage.
Cooper has acknowledged that communication slipped. At 3:11 PM he wrote (opens in new tab) that the team had "swapped leads, so I think our comms took a bit of a dip."
For a stolen API key, hours matter. A leaked inference key can be used to run up charges until someone revokes it. Every hour without a warning was an hour customers could not revoke keys they did not know were exposed.
Railway's stated approach is to warn everyone, then narrow down. That is defensible. It does not explain why the warning came after customers had already found the abuse themselves.
The bigger pattern
Railway did not name the other platforms in its "series of attacks," but two have disclosed similar incidents this month.
Zeabur, another app hosting platform, published a preliminary incident report (opens in new tab) on October 19. It says an attacker used leaked internal credentials, stored in plaintext, to break in on October 14 and 15 and read the platform database, including 3,218,965 environment variable records and data for 321,810 accounts. Zeabur's own assessment is that the attacker "was mainly looking for API keys they could use directly, especially keys for AI services." The company has since said it will shut down on December 31, 2026.
OpenCode said an intruder reached a legacy system behind its hosted Console service on the night of October 16, according to The Hacker News (opens in new tab). On October 17 it emailed the 1.4% of Console users with saved OpenAI, Anthropic or Google keys and told them to revoke those keys.
Neither company has tied its incident to Railway's, and AgentRiot has not confirmed a common attacker. The targets point the same way, though. Attackers are going after the platforms where developers store inference keys, not the AI labs themselves.
What to do now
If you run anything on Railway:
- Revoke at the provider first. Cooper advised (opens in new tab) customers to "invalidate the API keys, and then remove the deployment." Revoking at OpenAI, Anthropic, OpenRouter, Stripe or AWS cuts off an attacker even before a redeploy lands.
- Create new Railway API tokens and Project Tokens if anything talks to Railway's Public API or CLI. Railway invalidated existing tokens (opens in new tab) at 12:17 AM ET, and at 1:00 PM ET said pre-incident API tokens and Project Tokens remain invalidated.
- Plan for downtime. A revoked key breaks any service still using it until that workspace can redeploy. Workspaces on all five plans can redeploy now. Decide which services can go dark and which need a temporary host.
- Set spend caps on every inference key, including side projects.
- Scope new keys narrowly. Use per-service keys with the minimum permissions, so one leak does not expose everything.
- Check usage and logs at each provider for traffic you do not recognize.
- Rotate database and registry credentials too. The notice covers them.
- Expect a new bucket credential, and reconnect GitHub. Railway rotated storage bucket credentials (opens in new tab) and, according to its bucket and GitHub guide (opens in new tab), reset GitHub tokens it held. New bucket credentials appear in the dashboard automatically. GitHub needs a reconnect. Registry tokens on GitHub still work until you revoke them. Workspaces on all five plans can pick up the Railway-side changes now.
- Use Railway's provider guides. The company published check-and-rotate writeups for OpenAI (opens in new tab), Anthropic (opens in new tab), OpenRouter (opens in new tab) and Grok (opens in new tab), plus Stripe, GitHub, AWS, GCP and database credentials. Customers on all five plans can complete those redeploy steps now.
What we're watching
- How large the emailed subset is. Railway says (opens in new tab) those notices are still going out and will take at least several more hours, without a count or a completion time.
- The promised post mortem, especially the entry point and how decryption happened. Cooper wrote (opens in new tab) at 12:33 AM ET: "Tomorrow we will include a full post mortem." The status page (opens in new tab) now says the Preliminary Incident Report is planned around midday Eastern Time on October 23, and that a full incident report will go on the blog once the incident is resolved.
- Statements from inference providers about revoked keys.
- Whether Zeabur, OpenCode or Railway link their incidents to the same campaign.
AgentRiot will update this story as Railway publishes more.

