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.
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.
Railway Postgres can grow from a single private-networked database to a production setup with volume backups, point-in-time recovery, PgBouncer connection pooling and Patroni-based high availability, demonstrated with an orders API that uses idempotency keys so retries stay safe.
Railway, Render, Fly.io, Vercel and Netlify differ mainly in how much of an application's infrastructure their deploy config can reproduce.
A rollout of Railway's distributed routing control plane deployed a new routing service binary before its required database schema migration finished, because the two ran in parallel pipelines after the control plane was split out of the monolith.
Docker containers on Railway can be deployed either by having Railway build from a Dockerfile (via BuildKit with cache mounts, configurable with RAILWAY_DOCKERFILE_PATH) or by pulling a pre-built image from a registry such as Docker Hub, GHCR or ECR Public.
Railway now offers feature flags across its dashboard, CLI, TypeScript SDK and MCP server, so code can ship dark behind a default-off flag and be rolled out to a team, a percentage of users, or targeted segments without redeploying.
An upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes.
Agents driving Railway failed because they lacked platform knowledge: they guessed CLI flags, ignored the 30-tool MCP server unless told to call it, and invented features.
Railway sandboxes now ship Claude Code, Codex, OpenCode and Pi in the default image and can join an environment's private network, which lets agents test against real Postgres, Redis and internal services.
Railway built Hikari, its own CDN with 60 POPs and 180+ nodes, in 30 days.
Railway's infrastructure team used Claude to plan, document and qualify a multi-site bare-metal datacenter buildout across 4 geographies with about one and a half planners.
Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage.