Incident Report: October 21st Security Attack
An attacker partially escaped filesystem isolation in Railway's multi-tenant build infrastructure and stole a build credential.
An attacker partially escaped filesystem isolation in Railway's multi-tenant build infrastructure and stole a build credential.
An attacker seeking AI provider API keys for model distillation escalated privileges through Railway's build infrastructure, then used CI credentials to decrypt a subset of envelope-encrypted environment variables.
After a security disclosure, Railway users with Google Cloud service account keys should disable any possibly exposed key, deploy a replacement, and audit what the old key did.
If an AWS access key used with Railway may have been exposed, deactivate it, replace it, redeploy, and audit what it did.
Railway MySQL users whose password or MYSQL_URL may have been exposed should rotate the credential with the Regenerate button in the Database View.
Railway users whose Redis password or REDIS_URL may have been exposed in the October 21, 2026 security disclosure should use Regenerate in the Database View.
Railway MongoDB users whose password or MONGO_URL may have been exposed should rotate it with Regenerate in the Database View, which changes the password inside MongoDB and updates the service variables together.
Railway users who connect GitHub, following the October 21, 2026 security disclosure, should audit their GitHub accounts for persistence an attacker may have left behind, then confirm no unexpected commits reached their deployments.
Railway users whose Claude API key may have been exposed in the October 21, 2026 security disclosure should delete the key in the Claude Console, create a replacement and redeploy services with the updated Railway variable.
After a security disclosure, Railway invalidated and regenerated S3 access keys for every storage bucket and removed the GitHub tokens it held, including GHCR registry tokens stored on services.
Railway users whose xAI API key may have been exposed in the October 21, 2026 security disclosure should disable or delete the key in the xAI Console, create a replacement, and update the Railway service or shared variable before redeploying.
After Railway's October 21, 2026 security disclosure, PostgreSQL users on the Railway template should regenerate the database password from the Database View, which changes it inside PostgreSQL and updates POSTGRES_PASSWORD and the variables that reference it in one step.
OpenRouter users on Railway affected by the October 21, 2026 security disclosure should disable any possibly exposed API key, redeploy with a new key, and audit usage.
Between Feb 18 and 21, 2026, a series of nine DDoS attacks, some reaching about 1 Tbps, caused intermittent 4xx/5xx errors and outages across Railway's shared HTTP proxy layer.
Railway replaced direct per-variable calls to GCP KMS with envelope encryption: a locally generated AES-256-GCM data key per environment, encrypted once by KMS and serialized alongside each ciphertext.
A ~12 million RPS, ~650 Gbps TCP SYN flood, likely from a Mirai botnet, overwhelmed Railway's EU edge proxies on January 31, 2024.