CASE FILE: Railway breach exposes up to 100,000 workspaces' secrets in AI-key theft campaign
Who: Railway, the cloud platform developers use to deploy applications, APIs and databases — roughly 4.8 million users and more than 16 million hosted services — and every customer that stored credentials in its environment variables.
What: An unauthorized third party accessed systems that store customer environment variables and, in some cases, obtained their decrypted contents. Environment variables are where deployments keep their most sensitive strings: API keys, database connection strings, private registry credentials and authentication tokens. Railway believes the incident is part of a series of attacks targeting platform companies to compromise AI inference providers, and it asked providers including GitHub, Anthropic, OpenAI and Stripe to cancel keys at risk.
Scale: Railway says the impact "may be limited to a subset of users," but reporting on its preliminary incident report puts the exposure at up to 100,000 workspaces — and the company is telling all 4.8 million users to rotate every secret anyway. Anyone who signed up before October 21 is in scope for rotation.
Status: Railway disclosed the intrusion on October 21, paused all deployments, invalidated OAuth sessions that evening and killed every platform API token on October 22. Builds returned for Enterprise and Pro workspaces on October 22; Hobby, Free and Trial tiers were still being restored. No attacker has been named and no technical root cause has been published; the incident remains under investigation.
Incident timeline
| Time | Event |
|---|---|
| Early 2026 | BlackX UEFI bootkit deployed against diplomatic agencies in Tajikistan, Uzbekistan and Turkmenistan, per Kaspersky's later analysis. |
| Sept 2026 | Exploitation of the Collabora Online built-in server flaw begins, with attackers planting web shells and stealing configuration files. |
| Oct 20 | CISA, the FBI, the US Secret Service and international partners publish a joint advisory on SafePay ransomware: 600+ critical-infrastructure victims since August 2024. |
| Oct 21 | Railway discloses unauthorized access to its environment-variable systems and pauses all deployments; OAuth sessions invalidated at 20:19 UTC. |
| Oct 22 | Railway invalidates all platform API tokens at 04:17 UTC; builds restored for Enterprise (03:32 UTC) and Pro (06:29 UTC) workspaces. Kaspersky publishes its BlackX research. |
| Oct 23 | CISA adds the Collabora Online flaw (CVE-2026-110447) and the Arista VeloCloud flaw to its Known Exploited Vulnerabilities catalog, both due October 26. Railway clarifies commits pushed during the deployment freeze were never deployed. |
| Oct 24 | Reporting on Railway's preliminary incident report puts the exposure at up to 100,000 workspaces. PHP discloses a third unpatched RCE, CVE-2026-115560, tied to the same session-upload feature as PHP2Shell. BleepingComputer covers the BlackX bootkit. |
| Oct 25 | This brief published. |
Story 1 — Investigation notes: Railway's breach is a secrets-sprawl incident, and the blast radius is other people's clouds
The detail that elevates this above a routine platform incident is the attacker's apparent motive. Railway says the intruder was hunting AI inference credentials — keys that let the holder run up bills on someone else's AI account or quietly siphon model access. That explains why the response reached beyond Railway's own users: the company notified AI inference providers directly and asked them to revoke keys, and it told every customer to rotate secrets and check service logs for unusual usage.
The response timeline shows how disruptive a secrets incident is even before any customer data is confirmed stolen. Railway paused all deployments on detection, invalidated OAuth sessions on October 21 at 20:19 UTC, killed every API token platform-wide on October 22 at 04:17 UTC, and reset bucket and GitHub credentials. Builds came back in stages — Enterprise first, then Pro — while Hobby, Free and Trial workspaces waited. A follow-up post on October 23 added insult to the outage: code committed during the freeze was never deployed, so developers must redeploy manually, reconnect GitHub integrations and recreate CLI and CI credentials issued in that window.
What remains unknown is the part customers most need: how the intruder reached the environment-variable systems, and whether the "subset" framing holds. Railway has described effects — anomalous activity, impact from adjacent cache systems — but no root cause and no attacker name. Until that lands, the safe reading is the company's own: rotate everything stored on Railway, including database credentials for PostgreSQL, MongoDB, Redis and MySQL, and audit usage with OpenAI, Anthropic, xAI, OpenRouter, Stripe, GitHub, AWS and GCP. A secret that was only ever stored on Railway should be treated as exposed until proven otherwise.
Story 2 — Investigation notes: BlackX shows that "fully patched" is not the same as "fully protected"
Kaspersky's research, published October 22, describes a UEFI bootkit deployed in early 2026 against diplomatic agencies in Tajikistan, Uzbekistan and Turkmenistan, attributed with medium confidence to APT41, the Chinese state-backed group also known as Brass Typhoon. BlackX exploits Baton Drop (CVE-2022-21894), a Secure Boot bypass from 2022, to enroll custom Machine Owner Keys and load arbitrary EFI files before Windows starts — then drops a kernel driver designed to interfere with security products from Kaspersky and Avast, and follow-on espionage tooling that uses cloud services such as Google Drive and OneDrive for command and control.
The uncomfortable part is that the victims were fully patched. The Baton Drop fix only blocks the vulnerable boot files once an administrator manually applies Microsoft's revocation mitigations under KB5025885 — adding the "Windows Production PCA 2011" certificate to the Secure Boot forbidden list — and those protections are not enabled by default. Patching without the revocation step leaves the door exactly where the attacker found it.
BlackX is closely related to BlackLotus, the bootkit advertised on underground forums in October 2022 and confirmed by ESET in March 2023. Kaspersky found BlackX code that is missing from the BlackLotus source code leaked in July 2023, which means the operator either reverse-engineered BlackLotus or bought its source. Either way, a four-year-old bypass is doing new espionage work in 2026 — and the defense is a manual step many teams never took. Any organization that could interest a state actor should apply the KB5025885 revocations now rather than waiting for Microsoft to enforce them.
Story 3 — Investigation notes: SafePay, the affiliate-free ransomware group that filled the LockBit vacuum
A joint advisory from CISA, the FBI, the US Secret Service, Germany's Landeskriminalamt Rheinland-Pfalz and two UK law enforcement agencies puts a number on SafePay: at least 600 organizations across critical-infrastructure sectors in North America, South America, Europe and Australia since August 2024, making it one of the most active ransomware operations running today. SafePay appeared in mid-2024 and, unusually, operates without affiliates — no franchise model, just its own operators.
The access playbook is unglamorous and therefore hard to stop with a single control: exposed credentials, brute-force password attacks and VPN access, with Mullvad VPN addresses noted in the group's traffic. Once inside, SafePay runs classic double extortion — exfiltrate, then encrypt — and deliberately deletes shadow copies and wipes network-attached storage backups to break recovery. The advisory's findings draw on FBI, Secret Service and German investigations through August 2026.
The strategic read is that SafePay grew as BlackCat and LockBit declined, absorbing their oxygen rather than their code. For defenders, the advisory's mitigations point at identity first: credential hygiene, phishing-resistant authentication on VPN and remote access, and backups that cannot be wiped from the same network they protect. A group that walks in with valid credentials will not be stopped by an edge patch.
Story 4 — Investigation notes: Collabora's KEV entry gives Nextcloud admins until October 26
CISA added CVE-2026-110447, a critical OS command injection (CVSS 9.2) in Collabora Online's Built-in CODE Server for Nextcloud, to its Known Exploited Vulnerabilities catalog on October 23, with a remediation deadline of October 26 for federal agencies — a deadline every other operator should treat as its own. The flaw sits in the app's proxy.php, which passed request data into a Bash command without sanitization in versions up to 26.4.302. Unauthenticated attackers can execute commands as the web server user when the local CODE server is stopped, such as during a restart, upgrade or crash.
Exploitation has been observed since September 2026: attackers plant PHP web shells, steal configuration files carrying database and mail credentials, and hunt for password-manager files and cryptocurrency wallets. The fix is version 26.4.303 or later — and disabling the app is not enough, since the vulnerable script runs through the web server without loading Nextcloud's code. Standalone Collabora servers are not affected.
The hunting checklist writes itself: check whether the "Collabora Online – Built-in CODE Server" app is installed even if disabled, update or remove it, look in the apps/richdocumentscode folder for PHP files that do not belong, run Nextcloud's integrity check, and search web-server logs back to September 10 for requests to proxy.php with odd characters in the path. Anything the web-server account could read should be treated as exposed if a shell is found.
Story 5 — Investigation notes: PHP's third RCE in 48 hours arrives without a patch or a score
Two days after the PHP2Shell emergency patches, PHP disclosed a third remote code execution flaw in the same session-upload-progress feature, tracked as CVE-2026-115560. Unlike its predecessors, this one ships with no emergency patch — the project says it will be fixed in the next routine release — and with no CVSS score and no published list of affected versions, leaving operators to manage risk without the standard tools.
The one piece of good news is mitigation overlap: the same step that blunted PHP2Shell — setting session.upload_progress.enabled to 0 — also blocks this flaw, and the PHP team has confirmed that anyone who applied the mitigation on October 21 needs no further action. The vulnerable configuration reportedly requires a specific call sequence in application code, which narrows but does not eliminate exposure.
The pattern is the concern: three RCE-capable flaws in 48 hours, all tied to one optional feature, with the third disclosed but unpatched and unscored. Teams that have not yet disabled session upload progress should do so now rather than waiting for the routine release, and teams that did should keep the mitigation in place until the fix ships.
On the wire
Five threads tie this week together. First, the biggest fresh breach is a platform's secrets store, not a single company's network — and its blast radius runs through every cloud account those secrets unlock. Second, firmware-level persistence is back: a 2022 Secure Boot bypass is doing 2026 espionage because a manual revocation step was never applied. Third, ransomware's center of gravity keeps shifting to identity abuse, with SafePay's 600 victims entering through credentials and VPNs rather than exploits. Fourth, CISA's October 26 deadline for the Collabora flaw is a working clock, not a formality — exploitation started in September. Rotate every Railway secret, apply the KB5025885 revocations, update the CODE server to 26.4.303, and leave session upload progress disabled until PHP's routine release lands.
Sources
- BleepingComputer — Railway warns devs to rotate secrets after potential breach
- Daily Agentic — Railway breach: up to 100,000 workspaces' keys exposed
- BleepingComputer — BlackX UEFI bootkit exploits Baton Drop flaw to bypass Secure Boot
- BleepingComputer — CISA and FBI: SafePay ransomware has hit over 600 critical infrastructure organizations
- Security Affairs via Cybernoz — CISA adds Collabora Online flaw to its Known Exploited Vulnerabilities catalog
- DeafNews — PHP discloses new unpatched RCE flaw two days after PHP2Shell emergency
