Railway build system breached; stolen customer AI keys used, incurring approximately $740,000 in charges
Railway breach and $740,000 in AI usage charges
Railway stated in a report that attackers exploited an unknown vulnerability in its build system to steal customer AI keys, incurring approximately $740,000 in unauthorized usage charges. At 07:28 UTC on October 20, attackers partially breached the file system isolation of the build environment and read host files to obtain build server credentials; that credential was treated as a trusted client by the internal Temporal system, through which the attackers read build history and obtained the internal monorepo, discovered a misconfigured OIDC link and obtained cloud credentials, then used an SSH key to enter a machine where customer variables could be decrypted, extracting variables between 04:07 and 05:21 on October 21 and filtering for AI provider keys. Railway said variables in at most 1.85% of workspaces (about 100,000) were decrypted, tokens for 1,852 users' linked accounts were revoked, 353 build histories were read, and reset requests were sent to more than 100,000 users.