Railway Says Attacker Decrypted Customer Secrets After Build-Isolation Escape

· Original article ↗

Summary

Railway says an attacker exploited build isolation and an OIDC misconfiguration to decrypt customer environment variables. Up to 100,000 workspaces may have been affected; unauthorized AI-key spending is estimated at $740,000.

Key points

  • Railway says an attacker accessed and decrypted a subset of customer environment variables between October 20 and 21, 2026; up to 1.85% of workspaces, or roughly 100,000, could have been affected.
  • The attack began with an unknown vulnerability that enabled partial escape from build isolation and access to host files and an internal build credential.
  • The attacker used the credential to access an internal Temporal cluster and build histories, then exploited an OIDC binding misconfiguration to obtain short-lived cloud credentials.
  • Railway reported that the attacker queried production data and decrypted matching keys; the accessed credentials included GitHub OAuth tokens for 1,852 users.
  • Railway estimates unauthorized spending on stolen keys at about $740,000. It said investigators found no evidence of access to customer databases or customer source-code repositories.
  • Railway revoked credentials, invalidated sessions and tokens, notified affected customers to rotate stored secrets, and is rolling out builds in dedicated ephemeral virtual machines.

Article Details

Victim Organization
Railway
Incident Type
Unauthorized access and decryption of customer environment variables and credentials following a build-isolation escape and exploitation of an OIDC misconfiguration.
Incident Date
2026-10-20
Data Types Exposed
  • Customer environment variables, including AI provider credentials and selected cloud, database, and payment keys
  • Bring Your Own Key (BYOK) agent keys
  • GitHub OAuth tokens
  • Stored build histories and sealed variables
  • Railway internal build credentials, SSH private key, and cached internal monorepo snapshot
  • Host virtual machine files
Affected Records
Railway said up to 1.85% of workspaces—roughly 100,000 environments—could have had variables decrypted; it described this as a confirmed upper bound, not a count of confirmed individual records. GitHub OAuth tokens for 1,852 users were accessed, and histories and sealed variables of 353 builds were read.
Operational Impact
Railway estimated unauthorized spending on stolen credentials at approximately $740,000 across external AI platforms. Engineers halted customer builds twice, revoked credentials and tokens, and invalidated user sessions, CLI tokens, and project tokens.
Ransom Or Extortion
Unknown
Claim Status
confirmed

MITRE ATT&CK

Vendors

Products

Countries

Related Articles