Railway has published detailed information about a security incident that occurred on its cloud platform for running applications, services, and databases. On 20 October 2026, the company detected unusual activity in systems holding customer environment variables.
Unauthorized parties may have gained access to encrypted environment variables and, for a subset of them, their decrypted values. Customers commonly store API keys, database credentials, and other secrets in these variables.
According to Railway, the maximum number of potentially impacted workspaces reached 100,000, equivalent to 1.85% of all workspaces on the platform. The likely goal of the intrusion was to obtain API keys from AI providers.
The company worked with external partners to preemptively invalidate API keys stored on the platform. Railway confirmed that attackers did not obtain access to user accounts, although access to source code could not be entirely excluded.
Following detection, all deployments were suspended while the investigation proceeded. On 22 October users received direct notifications, and a second public statement clarified that the attack window ran from 20 October at 15:58 until 22 October at 05:32.
Railway coordinated key revocation with GitHub, GitLab, Anthropic, OpenAI, OpenRouter, SpaceXSI, Stripe and additional providers. The firm restored the ability to create builds and deploy new versions after confirming the attacker no longer had internal system access.
Customers are advised to audit environment variables, rotate stored credentials, and monitor service logs for anomalous activity. The company also recommends restricting tokens to specific IP addresses and limiting permissions wherever possible.


