Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 3 min read Incident easyNovice

Incident Report: December 16th, 2025

Attackers exploited CVE-2025-55182, a React Server Components vulnerability in unpatched Next.js versions, to hijack a subset of Railway customer workloads and run a cryptominer. The simultaneous mining load caused fleet-wide CPU starvation, degrading performance for under 10% of workloads and disrupting under 1% of multi-tenant private network traffic, mostly in Europe West, over roughly four hours. Railway traced the binary with eBPF hooks and sandbox analysis, then blocked builds on vulnerable Next.js versions, deployed heuristic scanners to kill malicious processes, and added WAF rules. Affected users are told to upgrade and rotate all secrets as a precaution.

Related posts

  • Incident Report: Dec 13th, 2023

    Railway easyNovice

    An upgrade of Railway's dashboard GKE cluster to v1.25 pulled in a metadata server version with a known high-load bug, slowing the encrypt/decrypt calls used for service environment variables. A user migration email sent at 20:57 UTC drove a load spike, and from 21:45 to 23:24 UTC new deployments shipped with stale variables and users could not update variables, while existing workloads kept running. Railway mitigated by switching to a statically assigned encryption key, temporarily disabling logging, and upgrading to a GKE version without the bug. Follow-ups include centralized incident coordination, slower migration messaging and accelerating the move off GKE to its in-house orchestrator.

  • Preliminary Report: Oct 21st Security Incident

    Railway easyNovice

    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. At most 1.85% of workspaces (about 100,000) had variables potentially exposed. The attack ran from October 20 13:58 UTC to October 22 03:32 UTC. Railway halted builds while running deployments stayed online, sent stored keys to vendors such as GitHub, OpenAI and Anthropic for revocation, and replaced its multi-tenant builders with single-tenant ones. Railway recommends that all users who signed up before October 21 rotate secrets, remove public database access and review GitHub and registry audit logs.

  • Reconciling the Past: Correcting Records for Unfixed Kubernetes CVEs

    Kubernetes Blog mediumAdept

    The Kubernetes Security Response Committee is correcting CVE records for three old, unfixed vulnerabilities, CVE-2020-8561, CVE-2020-8562 and CVE-2021-25740, which wrongly listed a fixed version. The records now mark all versions as affected, so scanners may start flagging them. The three issues are webhook redirects to internal networks, a DNS TOCTOU proxy bypass, and cross-namespace forwarding via Endpoints. All are design tradeoffs that can't be patched without breaking core functionality. Administrators should mitigate through configuration: keep API server log verbosity below 10 with profiling disabled, run a caching DNS resolver like dnsmasq with min-cache-ttl on control plane nodes, and remove Endpoints/EndpointSlice write access from broad RBAC roles on upgraded clusters.

  • Incident Report: October 21st Security Attack

    Railway mediumAdept

    An attacker partially escaped filesystem isolation in Railway's multi-tenant build infrastructure and stole a build credential. That credential was wrongly trusted by a self-hosted Temporal cluster, which exposed build histories and a copy of Railway's internal monorepo. Using the code, the attacker found a misconfigured OIDC binding in CI/CD, obtained cloud credentials, and SSHed into an orchestration machine. From there they read envelope-encrypted environment variables and decrypted them through the KMS, targeting AI provider keys for at most 1.85% (~100,000) of workspaces. Railway halted builds twice, revoked all credentials, rebuilt its PKI, reset 1,852 linked-account tokens, and coordinated key revocation with providers after an estimated ~$740,000 in unauthorized spend.

  • Incident Report: January 31st, 2024

    Railway mediumAdept

    A ~12 million RPS, ~650 Gbps TCP SYN flood, likely from a Mirai botnet, overwhelmed Railway's EU edge proxies on January 31, 2024. EU users could not reach hosted workloads for about 5.5 hours, a separate 250k RPS L7 attack had earlier destabilized the dashboard. Mitigation was hard because the flood came from clean or spoofed IPs, connection rate limits were ineffective against half-open connections, and Railway terminates TLS itself, so it could not simply put Cloudflare in front. Recovery required tuning kernel TCP settings (backlog, SYN-ACK retries, syncookies), inserting a non-TLS-terminating filtering service between the load balancer and edge, and recreating the load balancer.

The quest for software engineering knowledge.

Look:
Layout: