# Railway breach exposed customer environment variables: rotate every secret stored in Railway

> Railway breach exposed customer environment variables: rotate every secret stored in Railway, also tracked as Railway breach / Railway security incident October 2026 / Railway environment variables leak is a high-severity threat campaign HOL Guard tracked from Oct 21, 2026 to Oct 22, 2026, verified against 9 primary sources and last reviewed Oct 22, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Canonical: https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets
Last reviewed: Oct 22, 2026
Tracking status: historical / inactive

## Key facts

- Severity: high
- Confidence: high
- First observed: Oct 21, 2026
- Last observed: Oct 22, 2026
- Primary sources: 9
- Reviewed artifacts: 3

## What happened

On 2026-10-21 Railway disclosed that an unauthorized third party may have accessed the systems that store customer environment variables and, for some of them, obtained the decrypted contents. Environment variables on Railway commonly hold API keys, database passwords, registry credentials and wallet private keys. Railway says impact may be limited to a subset of users but recommends every user roll all environment variables, API keys and private registry credentials stored in Railway and review service logs. Railway believes the intrusion is part of a series of attacks on platform companies aimed at compromising AI inference providers, and says it notified those providers to revoke keys. Railway paused builds, rotated S3 credentials for every storage bucket, invalidated GitHub tokens it held, invalidated OAuth sessions and all Railway API tokens, and published per-provider recovery guides. Researcher Taylor Monahan reported that wallet private keys stored in Railway were swept by address 0xd9773325282874d18cb83f1fe50f14c39750b2ee (about $371,000, 500+ transactions, 19+ EVM chains), with the first theft at 19:36 UTC on 2026-10-21, before Railway's 21:59 UTC notice. No CVE applies.

## Evidence limits

Railway has not published how many accounts were affected, when access began, or how the intruder reached the variable store. The wallet-drain figures come from one researcher's on-chain tracking and were not independently verified by HOL. Railway says it will email affected customers as it confirms them; absence of an email is not confirmation of non-exposure.

- Secrets that never lived in Railway variables are not exposed by this incident; a vault master token stored in a Railway variable is in scope
- Railway-issued bucket credentials and Railway API tokens were already invalidated by Railway; users still need to redeploy and create new tokens
- Railway has not said source code, volumes or database contents were accessed; a leaked database password on a publicly reachable database is a separate exposure to rule out
- This is not a CVE or a bug in customer applications; there is nothing to upgrade
- Railway's scope statement ('subset of users') is preliminary

## Timeline

- Oct 21, 2026 — other: Railway status incident opens; dashboard, API, CLI and builds degrade and builds are paused in all regions. Railway's disclosure says anomalous activity was detected that morning.
- Oct 21, 2026 — first observed: First known theft from a wallet whose private key was stored in Railway, per on-chain tracking of address 0xd9773325282874d18cb83f1fe50f14c39750b2ee.
- Oct 21, 2026 — disclosure: Railway posts its security notice: encrypted environment variables may have been accessed and some decrypted; all users told to roll variables, API keys and registry credentials.
- Oct 21, 2026 — vendor action: Railway begins rotating credentials for every storage bucket.
- Oct 22, 2026 — vendor action: Railway publishes per-provider recovery guides (OpenAI, Anthropic, Grok, OpenRouter, Stripe, AWS, GCP, GitHub, PostgreSQL, MySQL, MongoDB, Redis, buckets).
- Oct 22, 2026 — vendor action: Builds restored for Enterprise workspaces so new credentials can be deployed.
- Oct 22, 2026 — vendor action: Railway invalidates all Railway API tokens.
- Oct 22, 2026 — vendor action: Builds restored for Pro workspaces; Hobby, Free and Trial still pending as of 11:01 UTC.
- Oct 22, 2026 — other: HOL publishes the operator write-up with rotation order and provider-side checks.

## Reviewed artifacts

- Railway service, shared and environment variables (customer secrets) (railway)
- Railway storage bucket ACCESS\_KEY\_ID / SECRET\_ACCESS\_KEY (reset by Railway) (railway)
- Railway Public API tokens (invalidated by Railway) (railway)

## Sources

- [Railway: Security Disclosure, Wednesday October 21st](https://blog.railway.com/p/security-disclosure-wednesday-october-21st) — vendor advisory, observed Oct 21, 2026
- [Railway status incident QH8L8B3E: platform outage and security notice updates](https://status.railway.com/incident/QH8L8B3E) — vendor advisory, observed Oct 22, 2026
- [Railway: Redeploy buckets and reconnect GitHub after the credential reset](https://blog.railway.com/p/security-disclosure-recommendation-redeploy-buckets-and-reconnect-github-after-the-credential-reset) — vendor advisory, observed Oct 22, 2026
- [Railway: Rotate PostgreSQL database credentials](https://blog.railway.com/p/security-disclosure-recommendation-rotate-postgresql-database-credentials) — vendor advisory, observed Oct 22, 2026
- [Railway: Check for unexpected OpenRouter usage](https://blog.railway.com/p/security-disclosure-recommendation-check-for-unexpected-openrouter-usage) — vendor advisory, observed Oct 22, 2026
- [Railway: Check for anomalous AWS access](https://blog.railway.com/p/security-disclosure-recommendation-check-for-anomalous-aws-access) — vendor advisory, observed Oct 22, 2026
- [Taylor Monahan (@tayvano\_) on wallet keys drained from Railway](https://x.com/tayvano_/status/2113056813646238196) — research, observed Oct 21, 2026
- [The Hacker News: Railway says intruder may have accessed customer environment variables](https://thehackernews.com/2026/10/railway-says-intruder-may-have-accessed.html) — research, observed Oct 22, 2026
- [HOL blog: Railway breach operator write-up](https://hol.org/blog/railway-breach-environment-variables-rotate-secrets) — other primary, observed Oct 22, 2026

## Machine-readable exports

- [JSON record](https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets/data.json)
- [Artifact CSV](https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets/artifacts.csv)
- [STIX 2.1 bundle](https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets/stix.json)
- [Markdown record](https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets/index.md)

Corrections: https://hol.org/guard/security/campaigns/railway-breach-environment-variables-rotate-secrets/corrections
