Ruby2ßhell: Pre-authentication RCE on stock Rails
jdns
391 points
168 comments
November 19, 2026
Related Discussions
Found 5 related stories in 131.2ms across 13,334 title embeddings via pgvector HNSW
- Pre-Authentication RCE in WordPress Core patrikg · 18 pts · July 17, 2026 · 63% similar
- Java4Shell: pre-auth RCE flaw in Java 17 puts servers at risk (CVE-2026-114938) b33f · 149 pts · November 17, 2026 · 60% similar
- Government Rails Site Hit Hours After CVE Patch rietta · 84 pts · September 04, 2026 · 58% similar
- Ruby 4.0 Universal RCE Deserialization Gadget Chain pentestercrab · 74 pts · August 14, 2026 · 57% similar
- PHP2Shell: AI uncovers critical RCE in PHP danlark1 · 440 pts · October 21, 2026 · 57% similar
Discussion Highlights (20 comments)
circularfoyers
Thought this was another vulnerability for a second, but for anyone else who thought the same, this is already covered in the Ruby advisory being discussed here https://news.ycombinator.com/item?id=50554038 (which covers six other vulnerabilities).
rs_rs_rs_rs_rs
For once a bug name that's cool.
lousken
Scheiße2Shell?
Panzerschrek
I suppose this function has been written first in assumption, that case conversion doesn't affect length, but later ß -> SS conversion has been added without proper testing.
zelphirkalt
Name as discussed earlier here on Hackernews :) Glad they went with that name.
weinzierl
There should be other codepoints other than ß that in principle could be used for a vulnerability like that. There are even ones that expand to three codepoints, like ffi.
speedgoose
But can the attacker specify the encoding in rails? It's not like UTF-8 or GTFO?
sgt
Django next? Although it's unlikely, Django is known to be above average in terms of security by now.
tvvocold
One Shell a Day, Ops Run Away.
gsich
no poc. go away.
barbegal
More interested to see how you can use just a single byte overflow to trigger RCE. Definitely achievable but sounds tough.
cowlevel
So the recent RCE wave seems to be people finding more single byte overflows and such, but reporting them as RCEs because AI can do the tedious grunt work of finding the rest of the vulnerability chain. If any single byte overflow can be converted into an RCE with minimal human effort then we have no choice but to prove the whole software stack is memory safe.
realsdx
Another day, another RCE!
wiether
Get ready to upgrade your GitLab instance...
pluc
Here come the united statesmen asking about Ruby 2b hell
phil294
Fortunately, Rails' creator DHH recommends to use Rust nowadays anyway. https://www.youtube.com/watch?v=vDjW_dRyKXY
olejorgenb
I assume Gitlab.com run a fixed version, but it would be good if they could confirm it now..
slekker
DHH in shambles
GTP
> We'll be publishing a proof of concept in a week, once people have had time to upgrade. I think one may now decide to publish the PoC straight away or not publish it at all, since an AI agent pointed at this post would very likely be able to produce one in a few minutes.
t1234s
For people who haven't been to Germany the character that looks like a script B is pronounced like "S". Its a bit of humor in what is an annoying problem.