Railway environment variables decrypted, about 100,000 workspaces possibly affected
Start here
Railway disclosed that its system for storing customer environment variables showed anomalous activity; unauthorized third parties may have accessed encrypted environment variables and in some cases obtained decrypted contents. Railway believes this is part of a series of attacks targeting platform companies and ultimately aimed at AI inference providers, and has notified upstream providers to revoke keys, rotated bucket credentials, and invalidated API tokens. After the attacker's access was removed at 03:32 UTC on October 22, the AI provider on October 23 requested another batch of potentially affected keys; Railway provided that batch to OpenAI and Anthropic, but because it could not filter by time of addition, the batch mistakenly included keys newly created after the incident, and the providers may therefore have revoked replacement keys created by users; Railway says this does not mean the replacement keys were leaked. Preliminary investigation shows the attack can be traced back to October 20: after obtaining CI environment access credentials, the attacker decrypted files produced during the build process, then without authorization queried and decrypted some customers' encrypted environment variables; about 100,000 workspaces may be affected, at most 1.85% of all workspaces, and the actual scope of the leak remains to be clarified. Railway assesses that the attacker specifically searched for AI service API keys, possibly intending to use them for model distillation. As of October 27, existing customers' deployment functionality has been restored, and new account registration remains suspended.
Generated by AI from reports · Updated 13 hr ago
Storyline
- · 7 reports· Attention36
Railway environment variables decrypted, about 100,000 workspaces possibly affectedThis event
- · 6 reports· Attention44Railway discloses that attackers used AI agents to steal API keys
Latest developments
- · 1 reportRailway clarifies that the October 24 API key revocation was a precautionary measure
- · 1 reportRailway publishes remediation guidance on the GCP key leak incident
- · 1 reportRailway publishes AWS key investigation guidance over environment variable leak
- · 4 reportsRailway platform attacked, API keys stolen in real time
Progress timeline
- WebBoannews (Korea)· Media coverage레일웨이, 고객 API 키 유출 가능성…해커 최종 목표는 'AI 추론 서비스'(opens the original post in a new tab)
- iThome (Taiwan)Cloud platform Railway customers' environment variables decrypted; hackers suspected of targeting AI service keys
Cloud application deployment platform Railway published the preliminary findings of its security incident investigation: hackers breached its internal systems, some customers' environment variables have been decrypted, and about 100,000 workspaces may be affected, accounting for at most 1.85% of all workspaces. Railway assesses that the attackers specifically searched for AI service API keys, possibly intending to use them for model distillation, and suspects they can use AI models with some safety restrictions removed as well as large amounts of compute resources. The attack can be traced back to October 20; after obtaining access credentials for the continuous integration (CI) environment, the attackers decrypted files generated during the build process, then queried and decrypted some customers' encrypted environment variables without authorization. The actual scope of the leak remains to be clarified. Railway has contacted GitHub, GitLab, Anthropic, OpenAI, OpenRouter and Stripe to request revocation of potentially leaked keys, and recommends that users who registered before October 21 replace sensitive credentials, revoke old credentials and check access records; as of October 27, deployment functionality for existing customers has been restored, while new account registration remains suspended.
- RailwayRailway clarifies that the October 24 API key revocation was a precautionary measure
Railway clarified that the platform is not currently under attack, and that the recent API key revocations by AI service providers were precautionary measures related to the October 21 incident, not a new security incident. After the attacker's access was fully removed at 03:32 UTC on October 22, the AI service providers requested another batch of potentially affected keys on October 23; Railway provided this batch to OpenAI and Anthropic, but because it could not filter by creation time, the batch mistakenly included keys created after the incident, and the providers may therefore have revoked replacement keys created by users. Railway stated that these revocations do not mean the replacement keys were leaked; if a key was revoked, users need to create a new key, update the corresponding Railway environment variable, and redeploy the service using it, while users whose keys are still valid do not need to repeat the rotation they have already completed.
- WebBleepingComputer· Media coverageRailway warns devs to rotate secrets after potential breach(opens the original post in a new tab)
- TechCrunch AIDevelopment platform Railway urges "all users" to revoke keys after cyberattack
Development platform Railway suffered a cyberattack, some customer keys may have leaked, and it urged all users to revoke and rotate API and cloud keys. Attackers may have accessed encrypted environment variables and obtained some of their decrypted contents; preliminary analysis says the impact is limited to some users. Railway said this is suspected to be part of a larger attack aimed at compromising AI inference providers; open-source AI coding tool OpenCode also suffered a similar attack this week, with secrets such as API keys stolen from more than 1% of customers, attributed to an AI knowledge distillation attack.
- The Hacker NewsRailway says intruders may have accessed customer secrets, urges credential rotation
Railway disclosed abnormal activity in its customer environment variable system; unauthorized third parties may have accessed encrypted environment variables and in some cases obtained decrypted contents, with impact limited to some users. The company requires rotation of environment variables, API keys and private image registry credentials and review of logs, and has rotated bucket credentials and invalidated API tokens. Railway said the incident may be part of a series of attacks targeting platform companies and ultimately aimed at AI inference providers.
- RailwayRailway security disclosure advisory: check for anomalous GCP access
Railway issued a security disclosure reminding Railway users who use Google Cloud service account keys to check for anomalous GCP access. If a key may have leaked, the key should be disabled, Cloud Audit Logs reviewed, and redeployment done with a new key; keys do not expire by default, disabling a key only blocks new authentication, and already-issued short-term tokens remain valid for up to one hour, so to cut off access immediately the entire service account can be disabled.
- RailwayRailway discloses abnormal access to its customer environment variable system; some keys suspected to have been decrypted and obtained
Railway disclosed that abnormal activity occurred in the system where it stores customer environment variables; an unauthorized third party may have accessed encrypted environment variables and obtained the decrypted contents of some of them. Environment variables may contain API keys, database and image registry credentials. Railway believes this is part of a recent series of attacks targeting platform companies with the aim of compromising AI inference providers, and has notified upstream service providers to proactively revoke all keys. All deployments are currently paused, and no new versions can be released until restoration. Railway recommends that all users immediately rotate the environment variables and private image registry credentials stored in Railway, and check the logs of related services for abnormal activity; affected accounts will be contacted by email once confirmed.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- WebBoannews (Korea)레일웨이, 고객 API 키 유출 가능성…해커 최종 목표는 'AI 추론 서비스'(opens the original post in a new tab)
- X@rufinocabrera · Víctor Rufino CabreraLa IA me obligó a rotar 45 API keys. A mano. Atacaron Railway, uno de nuestros proveedores de infra, buscando API keys…(opens the original post in a new tab)
1 likes·Oct 31 19:41Collect
- X@JNitterauer · Jim NitterauerRailway discloses possible exposure of customer environment variables, urges all users to rotate keys — On October 21 R…(opens the original post in a new tab)
1 comments·Oct 27 06:34Collect
- X@Railway · RailwayThe security incident is resolved for existing users. We value transparency, and thus will continue to provide updates…(opens the original post in a new tab)
202 likes · 43 comments·Oct 27 18:44Collect
- X@edwardjgriggs · Edward GriggsRailway: up to 1.85% of workspaces (~100k) had env vars potentially exposed. The attacker was hunting AI API keys for d…(opens the original post in a new tab)
- X@Daily_CyberSec · Daily CyberSecurityA Railway security breach may have exposed environment variables and API keys. Users should rotate all stored secrets n…(opens the original post in a new tab)
- X@petrov_base_eth · Niko PetrovWhere we kept the keys mattered more than which model we called. Our OpenAI and Anthropic credentials lived in Railway…(opens the original post in a new tab)
- X@jayleaton · JJ EatonI was hacked when @Railway went down. I had more than 20 projects hosted on the platform. It seems the only one that…(opens the original post in a new tab)
6 likes · 2 comments·Oct 26 18:34Collect
- X@_pksharma · P.K. Sharma🚨 CLOUD SECURITY INCIDENT: Railway Clarifies Up To 100,000 Workspaces Secret Exposure Ceiling Railway has published a…(opens the original post in a new tab)
- X@visheshdevlife · Vishesh Garghackers stealing AI api keys to train their own models is a crazy plot twist btw, has anyone received an email from Ra…(opens the original post in a new tab)
1 likes·Oct 26 03:35Collect
- X@atsush1_sada · asu_ paraThis Security Disclosure casually stated that "an unauthorized third party may have accessed encrypted environment variables and obtained the decrypted contents of some environment variables," among other things. https://blog.railway.co…(opens the original post in a new tab)
- X@EHackerNews · CySecurity NewsRailway Tells 4.8 Million Users to Rotate Secrets After Possible Breach of Environment Variables www.cysecurity.news…(opens the original post in a new tab)