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.
Railway's managed Postgres now covers the full database lifecycle: private-by-default services with reference-variable credentials, usage-billed vertical scaling, live volume resizing, and one-click PgBouncer pooling with a separate unpooled URL for migrations.
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.