Re:Upload2Shell · CVE-2026-125396
by megous on Saturday November 21, 2026 @06:55PM
(#50594844)
ghostscript, imagemagick, ffmpeg, etc. etc. all these passthrough data in data out programs that don't need much of anything from the system, I'd think people would run them with untrusted input in a tight whitelist based seccomp+landlock sandbox. it's a bit annoying if they are not statically compiled, due to ld.so loading libraries, but possible.
[ Parent
| on HN ]
Re:Upload2Shell · CVE-2026-125396
by pastel8739 on Saturday November 21, 2026 @08:29PM
(#50595338)
We should just use wasm for all this stuff
Re:Upload2Shell · CVE-2026-125396
by invalidname on Sunday November 22, 2026 @12:38AM
(#50596631)
Why not a restricted container?
Re:Upload2Shell · CVE-2026-125396
by pastel8739 on Sunday November 22, 2026 @12:45PM
(#50601962)
Too much surface area for bugs
Maybe ok for low volume stuff but you think YouTube is going to take a 2x performance hit for all their video processing?
Lightweight VMs are probably the best solution in that case.
That's exactly what I do and why I keep my hobby site a CGI instead of a long running process. Every request gets it's own seccomp+landlock sandbox. Its a couple extra milliseconds but I pay it gladly.
Re:Upload2Shell · CVE-2026-125396
by milkshakes on Saturday November 21, 2026 @11:37PM
(#50596293)
> I'd think people would run them with untrusted input in a tight whitelist based seccomp+landlock sandbox.
in fact, many do. if you're not doing this all your unsafe file processing in 2026, you're in for a bad time!