---
title: "Incident Report: October 21st Security Attack"
description: "An attacker partially escaped filesystem isolation in Railway's multi-tenant build infrastructure and stole a build credential."
url: "https://swe.quest/articles/incident-report-october-21st-security-attack-5a78ac26d27c6de1"
canonical: "https://blog.railway.com/p/incident-report-october-security-incident"
source: "Railway"
published: "2026-11-10"
difficulty: "medium"
kind: "Incident"
reading_minutes: 21
tags: ["incident-response","security","identity-auth","multi-tenancy","ci-cd"]
---

# Incident Report: October 21st Security Attack

A post on [Railway](https://swe.quest/sources/railway.md), published 2026-11-10, 21 min read, Incident. Original: [https://blog.railway.com/p/incident-report-october-security-incident](https://blog.railway.com/p/incident-report-october-security-incident)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Security](https://swe.quest/tags/security.md) (Security)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)

## Prerequisites

- envelope encryption and KMS ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- OIDC workload identity federation
- multi-tenant build isolation ([easy posts on Build systems](https://swe.quest/tags/build-systems.md?difficulty=easy))

## Keywords

Railway, Temporal, OIDC, envelope encryption, KMS, Wiz

## Related posts

- [Preliminary Report: Oct 21st Security Incident](https://swe.quest/articles/preliminary-report-oct-21st-security-incident-07763ed6caa3fd7b.md): Railway · 2026-10-22 · Easy · 10 min read · Incidents & postmortems, Security, Multi-tenancy, CI/CD
  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.
- [Your AI wants to nuke your database. Guardrails fix that.](https://swe.quest/articles/your-ai-wants-to-nuke-your-database-guardrails-fix-that-584cdb043e79dd89.md): Railway · 2026-04-29 · Medium · 8 min read · AI agents, Incidents & postmortems, Identity & auth, Resilience
  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.
- [Security Disclosure Recommendation: Redeploy Buckets and Reconnect GitHub After the Credential Reset](https://swe.quest/articles/security-disclosure-recommendation-redeploy-buckets-and-reconnect-github-after-3877fd6f9ee92bd0.md): Railway · 2026-10-22 · Medium · 4 min read · Incidents & postmortems, Identity & auth, Security, Deployment
  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.
- [Security Disclosure Recommendation: Check for Anomalous GitHub Access](https://swe.quest/articles/security-disclosure-recommendation-check-for-anomalous-github-access-acf8b4a01ac2abcd.md): Railway · 2026-10-22 · Medium · 1 min read · Identity & auth, Incidents & postmortems, Security
  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.
- [Security Disclosure Recommendation: Check for Anomalous AWS Access](https://swe.quest/articles/security-disclosure-recommendation-check-for-anomalous-aws-access-56c87760658990bd.md): Railway · 2026-10-22 · Medium · 2 min read · Incidents & postmortems, Cloud platforms, Identity & auth, Security
  If an AWS access key used with Railway may have been exposed, deactivate it, replace it, redeploy, and audit what it did.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
