logoalt Hacker News

Railway Security Disclosure

316 points • by passenger • yesterday at 9:58 PM • 155 comments • view on HN

Comments

vldszn • yesterday at 11:11 PM

Crazy day for cybersecurity: PHP RCE, eMudhra certificates, and now Railway.

And it’s all just getting started imo.

https://blog.cloudflare.com/emudhra-certificate-compromise

https://www.wiz.io/blog/php2shell-php-rce

➕ show 6 replies
piazz • today at 2:01 AM

Yup, got my OpenRouter key. They managed to run up a whole $2 on Opus 5.5 and Fable. Well, time for a new hosting provider I guess...

Incidentally, I'm testing Muse as an email triage agent today - it buried "oh also, railway and anthropic say yours keys have been leaked and you need to rotate asap" under 50 routine deploy / admin emails notifications. Oh to live through such an AI powered software renaissance!

theturtletalks • yesterday at 10:20 PM

Postiz founder posted on X that his service is being brought down, his keys were already used and Railway was quiet about this until he spoke up:

https://x.com/wickedguro/status/2113015432974405658

➕ show 1 reply
fbrncci • yesterday at 10:44 PM

Right just as I take my first day off (for the entire year!) from work to fly out for a vacation. The mother of all security bombs starts dropping all around stacks and services that I am responsible for. How else could have taken time off go for me…

➕ show 6 replies
MattIPv4 • yesterday at 10:13 PM

Seen multiple folks in the Railway Discord confirming that their secrets stored in Railway have been used by third parties, so it definitely sounds like the attackers were able to read decrypted environment variables.

➕ show 1 reply
martinald • yesterday at 10:27 PM

I have a bad gut feeling that every day is going to look a bit like today with endless urgent patches and breaches.

Fwiw it sounds similar to the hack over the weekend that opencode suffered.

➕ show 6 replies
alpineman • yesterday at 10:31 PM

Train wreck. People were writing on discord 3 hours ago, 10 hours after the incident started, that keys created just for railway were running up usage. Meanwhile builds have been down for more than 12 hours. Only NOW did they just send out an email to all customers. I wouldn't have found out until then if I wasn't checking the discord periodically.

fyzix • yesterday at 10:45 PM

How is it possible rotate keys if you disable deployments? You're basically telling us to take our services offline...

➕ show 3 replies
AJRF • yesterday at 10:31 PM

Do cloud providers have a lock-down mode where you can press 1 button and stop all spend?

➕ show 1 reply
DrawTR • yesterday at 10:21 PM

Jeez, what a rough past 24 hours for all security folk. Hang in there

➕ show 3 replies
cowlby • today at 1:49 AM

This is so fucked up. I was reviewing my account and I just saw this in the logs... Claude says database credentials and bucket credentials go in via env vars so likely they had access to database and bucket contents.

  Audit Logs
  Oct 21, 2026 05:54:13 PM CDT
  BucketInstanceCredential.regenerated in my-project production by Railway Staff
  Oct 21, 2026 05:54:13 PM CDT
  BucketInstanceCredential.regenerated in my-project production by Railway Staff
  Oct 21, 2026 05:54:13 PM CDT
  BucketInstanceCredential.regenerated in my-project production by Railway Staff
minraws • yesterday at 10:25 PM

how are the secrets decrypted, I would like some explanation so that I can have some understanding here, I am starting to feel like all these companies are just meme-ing with their security posture.

Like did someone vibe code too hard, how do env secrets leak for everyone...

➕ show 1 reply
1-6 • yesterday at 11:33 PM

It's time for competent programmers to get rehired to help patch massive exploits that are about to unfold before us.

dylanz • today at 12:06 AM

I'm rotating production secrets all night... great. I confirmed that they've actually used many of my secret keys already.

ksajadi • today at 12:44 AM

someone managed to get the environment variables AND the encryption keys for those? i feel for the secops engineers over there right now. brutal

gbnwl • yesterday at 10:25 PM

The past two days have been awful as someone who uses Railway.

eecks • yesterday at 10:41 PM

Huh, I've been using Railway tonight and this was the first I've seen of this. Just got an email about it now too at 23:36

wateralien • yesterday at 10:24 PM

Is this our new AI daily reality?

➕ show 1 reply
paxy • yesterday at 10:24 PM

It’s funny that every security breach disclosure now has a mandatory “the attacker used AI!” as if it absolves you from having to maintain a secure system. If anything it makes the situation more damning. If it was possible to find exploits using AI then your own red teaming should have found them before the attacker did.

➕ show 6 replies
shinycode • yesterday at 11:08 PM

I’m lucky I moved away from it to host my own db with coolify

➕ show 1 reply
sergiotapia • yesterday at 10:41 PM

If you're on Railway do not wait, ROTATE every API key at the source, and do not set new values because Railway is still compromised and not secured.

arbayi • yesterday at 11:27 PM

i revoked my api keys, changed with new ones but guess what? railway does not allow deployments at the moment, so my app is down.

barelysapient • today at 12:25 AM

Ugh. Love Railway.

sergiotapia • yesterday at 11:27 PM

Actually I will move my projects away from Railway. With AI what it is today, no reason to shy away from hosting on actual VPS.

What is the best VPS to use today? Is it still hetzner or ovh?

lijok • yesterday at 10:27 PM

Damn I guess all those l33t hiring practices were for nothing

➕ show 1 reply
Keloran • yesterday at 10:10 PM

Well this is certainly interesting, I wonder how their secrets were being stored, I assumed they were stored in vault and then injected with a sidecar, but I guess not

esseph • yesterday at 10:24 PM

Fuck, I thought this was about trains

goforbg • yesterday at 11:24 PM

the worst service I've signed up for has to be railway. What a terrible product.

dayyan • yesterday at 11:42 PM

[flagged]

jon128 • today at 12:27 AM

[dead]

torben-friis • yesterday at 11:19 PM

>We believe this is part of a series of attacks recently targeting platform companies with the aim of compromising AI inference providers.

Is that an accusation? As in, major AI players taking out competitors ?

visch • today at 12:42 AM

This is exactly why we should own our deployment stacks. Going to push up the launch here as pdt is a railway alternative thttps://github.com/autoidm/pdt for scheduled jobs

AI makes this so much easier to do now, we should all own our own code, and deployment infrastructure (use a cloud instead of someone wrapping aws for you)

➕ show 1 reply