---
title: "Preliminary Report: Oct 21st Security Incident"
description: "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."
url: "https://swe.quest/articles/preliminary-report-oct-21st-security-incident-07763ed6caa3fd7b"
canonical: "https://blog.railway.com/p/preliminary-report-october-security-incident"
source: "Railway"
published: "2026-10-22"
difficulty: "easy"
kind: "Incident"
reading_minutes: 10
tags: ["incident-response","security","multi-tenancy","ci-cd"]
---

# Preliminary Report: Oct 21st Security Incident

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

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Security](https://swe.quest/tags/security.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

- secrets management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))
- CI/CD pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Railway, envelope encryption, model distillation, GitHub

## Related posts

- [Incident Report: October 21st Security Attack](https://swe.quest/articles/incident-report-october-21st-security-attack-5a78ac26d27c6de1.md): Railway · 2026-11-10 · Medium · 21 min read · Incidents & postmortems, Security, Identity & auth, Multi-tenancy, CI/CD
  An attacker partially escaped filesystem isolation in Railway's multi-tenant build infrastructure and stole a build credential.
- [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: Check for Unexpected Grok Usage](https://swe.quest/articles/security-disclosure-recommendation-check-for-unexpected-grok-usage-873952efd53dffe0.md): Railway · 2026-10-22 · Medium · 3 min read · Incidents & postmortems, Security, Identity & auth
  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.
- [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 Unexpected Anthropic Usage](https://swe.quest/articles/security-disclosure-recommendation-check-for-unexpected-anthropic-usage-e7cd891615bbdd91.md): Railway · 2026-10-22 · Medium · 2 min read · Incidents & postmortems, Security, Identity & auth
  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.

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)
