Railway discloses build isolation escape that let an attacker decrypt customer secrets
An attacker escaped Railway build isolation on October 20, 2026, reached production systems and decrypted variables for up to 1.85% of workspaces.
- Event
- 2026-10-20
- Affected
- Railway
- Published
- Sources
- 3
By the cisonews.ai Desk · Published · Updated
Railway disclosed that at 07:28 UTC on October 20, 2026, an attacker exploited a previously unknown vulnerability in its build infrastructure and later decrypted a subset of customer environment variables.
Tuesdays, by email
Pages like this one, every Tuesday
One email with the week’s new incidents, explainers and rules, sorted by topic.
Unsubscribe any time.
Railway said the attacker was fully evicted at 09:24 UTC on October 21, 2026, after decrypting variables for at most 1.85% of workspaces, about 100,000.
What happened
The isolation escape gave the attacker a build server credential, and Railway said that credential also let the attacker retrieve a copy of its internal monorepo.
At 03:26 UTC on October 21, 2026, the attacker used an erroneous OIDC binding configuration to obtain a short-lived cloud credential.
Railway said the attacker then reached an orchestration machine and queried a production database for AI provider keys using regular expressions.
Railway described the response as a contest of agent speed against a harness similar to ARTEX, citing Wiz.
Impact
The attacker also read the stored histories of 353 builds on October 20, 2026.
Decrypted data included linked-account tokens for 1,852 users, and Railway estimated unauthorized spend on stolen keys at ~$740,000.
Railway said existing deployments stayed online while new builds were paused.
Response
Railway halted builds twice and invalidated every user session and token.
It asked vendors including GitHub, Anthropic, OpenAI and Stripe to revoke potentially compromised keys.
Railway reset the 1,852 tokens and moved builders to single-tenant environments.
The Hacker News reported on October 22, 2026, that Railway urged credential rotation.
Lessons for security leaders
Treat any platform that stores your secrets as a third party in scope for vendor risk reviews, and keep an inventory of which keys live there so rotation can start within hours. Scope build and CI credentials to a single purpose, and audit OIDC trust bindings for unintended reach. Set spend alerts on AI provider keys, since stolen keys were monetized through usage.
Sources (3)
- [1]Railwayblog.railway.comNovember 10, 2026tier A · Primary
- [2]Railwayblog.railway.comOctober 22, 2026tier A · Primary
- [3]The Hacker Newsthehackernews.comOctober 22, 2026tier B · Press
Tuesdays, by email
Pages like this one, every Tuesday
One email with the week’s new incidents, explainers and rules, sorted by topic.
Unsubscribe any time.