Skip to content
← All news
3 min read

Railway says keys stolen in its October breach ran up about $740K in AI charges

Railway's full incident report traces the attack from a build isolation escape to a misconfigured OIDC binding and a decryption credential left on disk. Some AI providers are refunding the charges. OpenRouter is not, and Railway says it will cover the gap.

353 build histories, 1,852 users' linked tokens, and a regex hunting AI key names. Railway's report is out.

Railway published its full incident report on November 10, 2026. The headline number: "Unauthorized spend on the stolen keys was estimated to reach ~$740,000."

When this site covered the first disclosure on October 22, Railway had not said how the attacker got in or how many accounts were hit. Now it says at most 1.85% of workspaces, about 100,000, could have had variables decrypted, an upper bound. Linked-account tokens for 1,852 users, BYOK agent keys and GitHub OAuth tokens, were also exposed. Railway reset all of them.

The way in ran from a shared build VM to the key service

Time (UTC)What Railway says happened
Oct 18Dummy accounts; early probes blocked
Oct 20, 07:28Partial isolation escape on a shared build VM yields a build credential
Oct 20, 13:50Internal Temporal cluster accepts it as a trusted client; 353 build histories read
Oct 21, 03:26An erroneously defined OIDC binding yields a short-lived cloud credential
Oct 21, after 03:26It fetches a database credential and an SSH key; SSH reaches an orchestration machine with a decryption credential on disk
Oct 21, 04:07Regex queries pull variables named like AI keys, then decrypt them
Oct 21, 09:24Attacker evicted
Source: Railway incident report, November 10, 2026.

Build cache snapshots also leaked Railway's monorepo, which Railway says fed agent fanouts hunting new routes. It cites evidence of abliterated models with no safeguards.

Railway believes AI keys were the target

Railway says the queries asked specifically for AI credentials, and it believes the keys were passed to relay services that resell AI access, for use in distillation. It has not established whether the attacker ran those services or supplied others. It cites Wiz's Black October research as context, not attribution. From 09:25 UTC on October 21, Railway sent eight vendors, from GitHub to Stripe, hashes of every key it held so they could revoke exposed ones.

Who pays back the $740K depends on the provider

According to Railway, AWS (Bedrock) and Google (Gemini) have started fraud refunds. OpenAI and SpaceXSI review claims case by case. Anthropic is still in talks, and Railway covers those costs meanwhile. OpenRouter is holding to its no-refund policy. Railway says it covers any loss a provider will not refund. Railway's fixes since the attack include:

  • Each build gets its own ephemeral VM and a credential that can push only one image
  • Only the secrets service can reach decryption keys, and each service decrypts only what it needs
  • Every encrypt and decrypt operation is audit-logged

What is not confirmed

The $740,000 is an estimate with no breakdown by provider. Railway has not said how many individual variables were decrypted, or named the build vulnerability. Indicators of compromise stay private until law enforcement signs off. Every figure here comes from Railway alone.

Why a build studio cares

Our reading: after the first escape, each step used a credential trusted too widely, and then a regex over variable names found the AI keys. Any app holding customers' AI keys holds the same prize. We would check which roles your CI's OIDC bindings let it assume, which credentials can decrypt customer secrets and where they sit, and whether you could hand each provider your key hashes within hours. The report never mentions spend caps, so it cannot say whether caps would have shrunk the $740,000.

Next step: if your app keeps customers' AI keys on Railway, check those provider bills since October 20 and report unknown charges through the form in Railway's incident report. For an outside check of your own key storage, see our software audits.

SecurityRailwayAICloud PlatformsRailwayRailwayAppBlackOctoberAPIKeysOpenRouterAWSBedrockOIDCSecretsManagementIncidentResponseCyberSecurity

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