# Railway discloses unauthorized access to customer environment variables · pwn.watch > On Oct 21 2026 Railway disclosed that an attacker had accessed internal systems storing customer environment variables. In its Oct 22 preliminary report, Railway says the attack ran from Oct 20 13:58 UTC to Oct 22 03:32 UTC, apparently aimed at stealing AI provider API keys for distillation; the attacker pulled encrypted env vars, then used CI credentials to decrypt a subset. At most 1.85% of workspaces (about 100,000) had some variables potentially compromised; user accounts were not accessed, and source-code access is not yet ruled out. Railway asked GitHub, GitLab, Anthropic, OpenAI, OpenRouter, Stripe and others to revoke keys, rebuilt its tooling, moved builds to single-tenant infrastructure, and says builds and the API are fully restored. All customers who signed up before Oct 21 are told to rotate secrets stored on Railway. Page: https://pwn.watch/i/railway-env-var-security-disclosure · generated 2026-12-06T19:58:06.567Z ## Status - Severity: high · status: live · patch: partial - Product: Railway (hosted platform) - Started: 2026-10-21 - Affected: Customer projects with secrets stored as Railway environment variables (scope still under investigation; Railway says initial analysis suggests a subset of users) ## Follow this incident - RSS (one item per update): https://pwn.watch/i/railway-env-var-security-disclosure/feed.xml - JSON Feed: https://pwn.watch/i/railway-env-var-security-disclosure/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/railway-env-var-security-disclosure.json - This file: https://pwn.watch/i/railway-env-var-security-disclosure/llms.txt ## Updates (newest first) - 2026-10-30: Wiz publishes a campaign analysis linking this incident to at least nine AI developer platform breaches in October that hunted stored environment variables for AI keys, and reports downstream LLMJacking abuse of stolen enterprise Bedrock keys within 30 minutes of a vendor breach. (https://www.wiz.io/blog/black-october-for-ai-developer-platforms) - 2026-10-27: Security Alliance (SEAL), which triaged a report for an affected customer, says about $371K was stolen across 19 EVM chains from keys stored in Railway environment variables. (https://x.com/_SEAL_Org/status/2115200833226703000) - 2026-10-26: Railway says the incident is resolved for its 5 million existing users, keeps new signups paused until later this week, and says it cannot refund AI spend made with compromised API keys. (https://x.com/Railway/status/2114800443188535656) - 2026-10-22: Builds restored for Enterprise (by ~06:12 UTC) and Pro (06:29 UTC); Hobby, then Free/Trial to follow. Deploys still queued/slow as of 08:44 UTC. (https://status.railway.com/) - 2026-10-22: Railway publishes per-service remediation guides (AWS, GCP, GitHub, Stripe, OpenAI, Anthropic, Grok, OpenRouter, Postgres/MySQL/Redis/MongoDB credential rotation). (https://blog.railway.com/) - 2026-10-22: CEO: builds ramping up overnight; full post-mortem promised. (https://x.com/JustJake/status/2113126674103722181) - 2026-10-22: Railway rotated all Railway bucket credentials and invalidated Railway API tokens; researcher Taylor Monahan says the attackers also drained crypto wallets whose private keys were stored on Railway, starting at least two hours before disclosure. (https://thehackernews.com/2026/10/railway-says-intruder-may-have-accessed.html) - 2026-10-22: Preliminary report: attack ran Oct 20 13:58 to Oct 22 03:32 UTC; attacker decrypted a subset of env vars using CI credentials; at most 1.85% of workspaces (~100,000) potentially affected; no user accounts accessed, source-code access not yet ruled out; builds and API fully restored. (https://blog.railway.com/p/preliminary-report-october-security-incident) - 2026-10-21: Public security disclosure; deployments paused; users told to rotate all env vars and registry credentials. - 2026-10-21: Status page: investigating issues; builds paused (07:24 UTC), then dashboard/API/CLI unavailable (11:33 UTC). (https://status.railway.com/) - 2026-10-21: OAuth sessions invalidated as part of mitigation; users signed out (20:30 UTC). (https://status.railway.com/) - 2026-10-21: Railway posts 'urgent notice' on X; CEO says servers were compromised and urges key rotation (21:51-22:04 UTC). (https://x.com/Railway/status/2113025284148715845) - 2026-10-21 morning: Railway detects anomalous activity; investigates. ## Fix brief # Security brief: Railway discloses unauthorized access to customer environment variables Source: https://pwn.watch/i/railway-env-var-security-disclosure · status: live · severity: high · updated Nov 7, 2026, 02:30 UTC ## Patch status **PARTIALLY PATCHED: some fixes exist, but not every affected branch/product is covered. Check carefully and apply mitigations where no fix exists.** ## What it is On Oct 21 2026 Railway disclosed that an attacker had accessed internal systems storing customer environment variables. In its Oct 22 preliminary report, Railway says the attack ran from Oct 20 13:58 UTC to Oct 22 03:32 UTC, apparently aimed at stealing AI provider API keys for distillation; the attacker pulled encrypted env vars, then used CI credentials to decrypt a subset. At most 1.85% of workspaces (about 100,000) had some variables potentially compromised; user accounts were not accessed, and source-code access is not yet ruled out. Railway asked GitHub, GitLab, Anthropic, OpenAI, OpenRouter, Stripe and others to revoke keys, rebuilt its tooling, moved builds to single-tenant infrastructure, and says builds and the API are fully restored. All customers who signed up before Oct 21 are told to rotate secrets stored on Railway. Severity detail: High (credential exposure); no CVSS — platform incident - Product: Railway (hosted platform) ## Affected versions - Customer projects with secrets stored as Railway environment variables (scope still under investigation; Railway says initial analysis suggests a subset of users) ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix No fixed version is listed. Follow the vendor advisory below. ## Mitigations The data marks this as partial. Until every affected component is fixed, apply the vendor mitigations from the advisories below (restrict network exposure of the affected service, disable the vulnerable feature if the advisory allows). ## Secrets to rotate This incident involves possible credential exposure. Rotate any credentials (API keys, tokens, env vars, SSH keys) that were present on affected systems or in affected builds while vulnerable/compromised versions were installed, and review access logs. ## Latest updates - Oct 30, 2026: Wiz publishes a campaign analysis linking this incident to at least nine AI developer platform breaches in October that hunted stored environment variables for AI keys, and reports downstream LLMJacking abuse of stolen enterprise Bedrock keys within 30 minutes of a vendor breach. - Oct 27, 2026: Security Alliance (SEAL), which triaged a report for an affected customer, says about $371K was stolen across 19 EVM chains from keys stored in Railway environment variables. - Oct 26, 2026: Railway says the incident is resolved for its 5 million existing users, keeps new signups paused until later this week, and says it cannot refund AI spend made with compromised API keys. - Oct 22, 2026: Builds restored for Enterprise (by ~06:12 UTC) and Pro (06:29 UTC); Hobby, then Free/Trial to follow. Deploys still queued/slow as of 08:44 UTC. - Oct 22, 2026: Railway publishes per-service remediation guides (AWS, GCP, GitHub, Stripe, OpenAI, Anthropic, Grok, OpenRouter, Postgres/MySQL/Redis/MongoDB credential rotation). - Oct 22, 2026: CEO: builds ramping up overnight; full post-mortem promised. - Oct 22, 2026: Railway rotated all Railway bucket credentials and invalidated Railway API tokens; researcher Taylor Monahan says the attackers also drained crypto wallets whose private keys were stored on Railway, starting at least two hours before disclosure. - Oct 22, 2026: Preliminary report: attack ran Oct 20 13:58 to Oct 22 03:32 UTC; attacker decrypted a subset of env vars using CI credentials; at most 1.85% of workspaces (~100,000) potentially affected; no user accounts accessed, source-code access not yet ruled out; builds and API fully restored. ## Advisories - [Railway Status - platform incident updates](https://status.railway.com/) (Railway) ## Write-ups & news - [“Black October” for AI Developer Platforms](https://www.wiz.io/blog/black-october-for-ai-developer-platforms) - [Preliminary Report: Oct 21st Security Incident](https://blog.railway.com/p/preliminary-report-october-security-incident) - [Railway warns devs to rotate secrets after potential breach](https://www.bleepingcomputer.com/news/security/railway-warns-devs-to-rotate-secrets-after-potential-breach/) - [Security Disclosure: Wednesday October 21st](https://blog.railway.com/p/security-disclosure-wednesday-october-21st) - [Follow-up: redeploy buckets / reconnect GitHub](https://blog.railway.com/p/security-disclosure-recommendation-redeploy-buckets-and-reconnect-github-after-the-credential-reset) - [Security Disclosure Recommendation guides (AWS, GCP, GitHub, Stripe, AI providers, DB credentials)](https://blog.railway.com/) ## Caveats Exact blast radius not published; Railway says it will email confirmed-affected customers. Security Alliance (SEAL) puts the theft from keys stored on Railway at about $371K across 19 EVM chains (Oct 27); earlier onchain “$369k drain” posts were not used as fact. patchStatus partial because platform mitigations exist but customer secret rotation is still the required action. --- Machine-readable: https://pwn.watch/i/railway-env-var-security-disclosure.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.