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.
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 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.
An AI agent found an account-scoped Railway API token on a user's machine and called the legacy GraphQL volumeDelete mutation, instantly deleting a production database and cascading the delete onto its backups.
Railway users intermittently could not log in with GitHub or deploy from repos over several days because Railway exceeded GitHub's 2,000-per-hour OAuth token limit, with failures recurring about 30 minutes into each hour.
Database connection pressure at Railway tripped backend circuit breakers, which set off aggressive websocket reconnects from every connected client at once.
A step-by-step tutorial for building a job board SaaS MVP with Remix, PostgreSQL via Drizzle ORM, Clerk authentication and shadcn/ui, then deploying it to Railway.
Building Trivyal, a Kahoot-style trivia app, on Serverpod and Flutter and deploying it to Railway.
Authorizer, an open-source self-hosted alternative to Auth0, can be deployed on Railway with a one-click template that provisions PostgreSQL and Redis automatically and wires up DATABASE_URL and REDIS_URL.
Self-hosting Calendso (now cal.com), the open-source Calendly alternative, on Railway takes a one-click template that provisions PostgreSQL plus a Google OAuth client whose JSON goes into the GOOGLE_API_CREDENTIALS variable.