Railway says an attacker decrypted some customer environment variables after reaching its internal systems. Those variables can contain API keys, database passwords, and other credentials. Its November 10 report details the entry paths and unauthorized use of AI-provider keys. Builds and deployments have resumed across all tiers; the credential-rotation advice remains in place.

The October 21 disclosure, by Jacob Cooper, initially described possible exposure during a deployment pause. The title and earlier updates below preserve that history. The latest findings supersede both the uncertain decryption claim and the lower-tier deployment restrictions.

Update: November 10, 17:42 EST — full incident report

Railway’s November 10 incident report says the attacker first partially escaped isolation in its shared build infrastructure and obtained a build credential. That credential could read some build histories and Railway’s internal code through an overly broad trust relationship. A separate, misconfigured cloud identity binding then let the attacker reach a machine with a credential that could decrypt customer environment variables. The company says it has closed both routes and moved builds into dedicated short-lived virtual machines.

Railway reports that the attacker read 353 build histories, including some variables. Its approximately 100,000 workspaces (at most 1.85%) remains an upper bound on environments whose variables could have been decrypted, not a count of compromised workspaces. The company says it reset linked-account tokens for 1,852 users, including GitHub OAuth and user-supplied agent keys, and notified them. It estimates about $740,000 in unauthorized AI-provider usage and says it will cover costs providers do not refund. Customers should review provider billing and usage logs, report unauthorized charges through Railway’s official support channel, and ensure exposed keys have been revoked.

The report now says it has no indication of customer Git repository downloads or customer database access, narrowing the uncertainty in our October 24 update. This is Railway’s forensic assessment, not a guarantee that an individual downstream credential was unused. Its account of the attacker’s AI tools and resale motive remains an assessment; the detailed access and billing findings are the provider’s incident report.

Update: October 24, 04:51 EDT — confirmed decryption and restored deployments

Railway’s preliminary report, by Jacob Cooper and Angelo Saraceno, confirms that an attacker queried encrypted environment variables and decrypted a subset. It describes access to the continuous integration (CI) system, which builds and tests software. Compromised credentials allowed the attacker to decrypt artifacts containing additional API access.

Railway estimates that at most 1.85% of workspaces, approximately 100,000, had some environment variables potentially compromised. That is the provider’s preliminary exposure estimate, not a verified count of customers whose credentials were used. It cannot identify exactly which variables were decrypted within the affected projects and services.

The preliminary report placed the investigation window between October 20 at 13:58 UTC and October 22 at 03:32 UTC. The November 10 report instead dates the first successful entry to October 20 at 07:28 UTC and full eviction to October 21 at 09:24 UTC. Railway reports no login to individual Railway user accounts and no indication of customer Git repository downloads. The attacker did retrieve Railway’s own internal monorepo.

Recovery can now include redeployment

The October 23 status update at 22:06 UTC marks the platform outage resolved. Builds, deployments, the API and dashboard are operating normally. New signups remain paused, and the community/support site remains unavailable under a separate notice.

  • Complete credential replacement if still outstanding. Revoke old sensitive credentials, update stored variables and redeploy dependent services. Check activity at the services that issued those credentials.
  • Catch up missed code changes. Railway’s October 23 recovery guide says commits pushed during the deployment pause were not queued. Trigger deployment of the latest commit rather than assuming it already ran.
  • Repair revoked connections and deployment credentials. Reconnect GitHub where required, renew command-line login sessions, and replace revoked API or project tokens used by automated builds.
  • Use the original account identity if projects appear missing. Railway’s account-recovery guide warns that another login identity can create an empty account. Do not send support passwords, tokens or recovery codes.

Railway says higher-risk notifications were complete as of 18:57:54 UTC on October 23. Its status page explicitly warns that workspaces outside those groups are not confirmed safe. Conversely, this update alone does not require repeating rotations already completed since containment.

Exposure and evidence

Incident status: provider-confirmed unauthorized internal access and decryption of some stored secrets; the investigation remains preliminary.

  • The precautionary rotation advice extends beyond customers already contacted. The report covers sensitive environment variables stored before the original disclosure.
  • Railway asked some upstream services to revoke all keys it supplied, including keys outside known exposure. A revocation email alone does not prove that a particular credential was stolen.
  • The report adds a credential-access chain but withholds the complete exploit details. Its claims about the attacker’s AI tooling and intended use remain the company’s assessment.

Update: October 22, 12:43 EDT — retry guidance for early build failures

Railway’s 16:14 UTC status update says Pro and Enterprise deployments are running at normal speed. Some builds still fail shortly after starting; Railway now asks users encountering that failure to retry once. This specific retry guidance supersedes the earlier blanket advice against repeating deployments for that case.

Hobby, Free and Trial builds remain pending. The update concerns deployment recovery and leaves the separate credential-rotation recommendation in place.

Update: October 22, 10:49 EDT — Pro and Enterprise queues cleared

Railway’s 13:53 UTC status update says it has cleared the delayed-deployment queue. Pro and Enterprise deployments now start at normal speed, and queued deployments need no further action. This supersedes the queue delays in our earlier update.

Hobby, Free and Trial builds remain pending in that update. The outage remains open, and the deployment improvement does not resolve the separate secret-exposure investigation or rotation recommendation.

Update: October 22, 08:24 EDT — builds partly restored and API tokens invalidated

Railway’s status page now supersedes the blanket deployment pause described below. At 11:47 UTC, builds were available for Pro and Enterprise workspaces. Hobby, Free, and Trial remained pending. Queued deployments were starting, with delays and elevated build failures still reported.

At 04:17 UTC, Railway also announced that it had invalidated all Railway API tokens. Integrations using its Public API need newly created tokens. This platform-wide reset is distinct from rotating application credentials issued by other services.

Eligible customers could then complete recovery steps that required redeployment. Railway asked users to avoid repeatedly triggering the same deployment while queues cleared. The original disclosure still leaves the affected-account scope and initial-access mechanism unresolved.

Rotation was constrained by the deployment outage

Railway initially paused builds and deployments while investigating. Its status update at 01:22 UTC on October 22 said some recovery steps required redeployment, which remained unavailable. That update was published during the evening of October 21 in New York.

The company also rotated bucket credentials. Initially, customers had to wait for builds to resume before redeploying services to use the replacements. The timestamped update above describes the subsequent partial recovery.

For affected operators, revoking a stolen credential and successfully deploying a replacement are separate steps. Follow the provider’s current recovery guides, review downstream usage, and plan for service interruption where revocation invalidates a running application’s access.

What users are being asked to do

Railway recommends rotating environment-variable secrets, including API keys and private registry credentials, and checking the corresponding services’ logs. Its status page links specific guidance for databases, storage, GitHub, cloud accounts, and inference providers.

Review access at the service that issued each credential as well as inside Railway. Changing a stored value alone does not revoke a copy an attacker already obtained.

What the thread adds

The Hacker News discussion emphasizes the operational consequences of recovery:

  • fyzix asks, “How is it possible rotate keys if you disable deployments?” Railway’s initial status updates confirmed that constraint. The timestamped updates above record the subsequent restoration across all tiers.
  • piazz reports unauthorized use of an inference-provider key. This is a personal account, not a measured count of affected customers.
  • AJRF asks whether cloud providers offer a one-button way to stop spending. The question exposes a recovery need: containing downstream abuse while application deployment is unavailable.
  • numbsafari argues, “Use environment variables to point to where secrets are located, not to store their values.” tptacek distinguishes runtime injection from keeping secrets in durable files: “If you never store the environment in a durable file, it’s not meaningfully easier to exfiltrate from the environment than from process memory.” These are design arguments; Railway’s report traces the breach through stored secrets and decryption access.
  • ndneighbor, identifying themselves as Angelo from Railway, explains the delayed warning as an effort to verify containment before recommending replacement keys. They describe the approach as “aviate, navigate, then communicate”. Railway’s November 10 report confirms that it could not initially assure customers that replacement credentials would remain protected.
  • pamcake objects: “Once you realize there is compromise, you message accordingly, as soon as you are able.” frio says earlier notice would have let them warn their own customers or disable functionality. The dispute concerns when to disclose the risk; revocation and safely installing replacements remain separate recovery decisions.

From a 156-comment thread, in HN’s own order.

Caveat: Railway is the affected provider and source of the findings; individual decrypted-variable scope and downstream misuse remain under investigation.