News for hackers. Stuff that matters.
Re:Upload2Shell · CVE-2026-125396 by dabinat on Saturday November 21, 2026 @01:40PM (#50592201)
This seems like important information but this page is completely unreadable.
Re:Upload2Shell · CVE-2026-125396 by TacticalCoder on Saturday November 21, 2026 @03:06PM (#50593113)
Re:Upload2Shell · CVE-2026-125396 by CER10TY on Saturday November 21, 2026 @04:50PM (#50593988)
Seriously, it's just such a bad design. Extremely dense but at the same time extremely devoid of any info. Sorry for the broad negativity here, but this page just screams "I want CVE cred" without providing any useful info on whether this is a "patch now pants on fire" or "yeah maybe next cycle".

At least they didn't lead with a useless CVSS score like all the other vulnerabilities we see popping up now.

Re:Upload2Shell · CVE-2026-125396 by cyphar on Saturday November 21, 2026 @11:27PM (#50596232)
[delayed]
Re:Upload2Shell · CVE-2026-125396 by Pokepokalypse on Sunday November 22, 2026 @12:47AM (#50596667)
It makes me feel dumb when I'm trying to read this stuff. It actually took me a while to figure out what it was. I kind of thought I was going crazy. (esp since these characteristics would change from one version to another; particularly Opus 4.5 to 4.7, then to 5.0, and now 5.5 seems to be a step backwards.

You can tell it until you're blue in the face to be more explicit, but it's always re-active, and it just seems like you can't make it proactively be more explicit and clear.

Some days I have to really struggle to get through just one page of text from Claude trying to explain something to me. Especially when it's a complex problem with a lot of small components to it.

Re:Upload2Shell · CVE-2026-125396 by Dreami on Sunday November 22, 2026 @02:52AM (#50597259)
I also experience it in the other direction. When you build an app and it guesses a relation wrongly, then you tell it “this is wrong, it works like X, not like Y”. The LLM then cannot stop itself from writing that into every user-facing description where this relation comes up. As a user it then sounds, as if a car manual was written: to accelerate the car, press the throttle (not the steering wheel). I then have to spend prompts telling it to only describe the resulting spec, not the way we worked towards it, and that (quite high) concept then gets lost again the next time some description needs to be written
Re:Upload2Shell · CVE-2026-125396 by cyphar on Sunday November 22, 2026 @09:38AM (#50600130)
[delayed]
Re:Upload2Shell · CVE-2026-125396 by g-b-r on Saturday November 21, 2026 @06:09PM (#50594560)
Re:Upload2Shell · CVE-2026-125396 by g-b-r on Saturday November 21, 2026 @06:16PM (#50594607)
It's of course hidden behind a tiny link, but there's information at https://pwn.ai/upload2shell/research.html
Re:Upload2Shell · CVE-2026-125396 by acidburnNSA on Saturday November 21, 2026 @02:04PM (#50592487)
Use after free in Ghostscript allows attackers to run arbitrary commands as the document processing process. Many dozens of popular documents processing services and tools were found to be vulnerable and released fixes since July
Re:Upload2Shell · CVE-2026-125396 by baggy_trough on Saturday November 21, 2026 @02:22PM (#50592704)
If you want to use Ghostscript in a secure manner, you're going to have a bad time.
Re:Upload2Shell · CVE-2026-125396 by mpvjs on Saturday November 21, 2026 @06:20PM (#50594623)
- Claude, examine and fix bugs in Ghostscript. - Thinking ........... ....................... ............................................... ..........................

And this is how the AI rebellion started

Re:Upload2Shell · CVE-2026-125396 by WesolyKubeczek on Saturday November 21, 2026 @06:36PM (#50594732)
Theoretically, you could make a PostScript program that would output an image of a robot arm strangling its human handler, while also directing said robot arm to strangle its human handler.
Re:Upload2Shell · CVE-2026-125396 by philipwhiuk on Saturday November 21, 2026 @03:02PM (#50593077)
Weird title. Feels like it should be GhostScript2Shell.

And the disclosure process is problematic if it's all the same issue.

Re:Upload2Shell · CVE-2026-125396 by fock on Saturday November 21, 2026 @03:18PM (#50593236)
probably also the thumbnailer in your favourite linux-desktop. And the file-indexer ...
Re:Upload2Shell · CVE-2026-125396 by archi42 on Sunday November 22, 2026 @10:04AM (#50600357)
Yes but no: Since GhostScript is used in a lot of other tooling it can affect those as well.

So if you're using imagemagick to resize user uploaded jpgs or pngs, an attacker might be able to reach GS by sending you a PostScript with the a PNG extension.

So yes, technically it's all just GhostScript, but the impact is much wider than gs2shell would suggest.

(I personally don't care about names and brandings, but there are worse and better choices)

Re:Upload2Shell · CVE-2026-125396 by derac on Saturday November 21, 2026 @03:13PM (#50593180)
this name is god awful. ask an llm to name your thing or something
Re:Upload2Shell · CVE-2026-125396 by hannob on Saturday November 21, 2026 @03:25PM (#50593293)
It's been known for a while, and certainly long before the recent AI vuln flood, that ghostscript is really problematic in terms of security.

Ultimately, postscript is its own programming language, and executing a programming language in a secure, sandboxed way is not trivial. ghostscript has only a very poor pseudo sandbox that fails regularly. Unfortunately, ghostscript is the only implementation of postscript that's out there.

All of that would matter much less if people only used it to parse postscript. But it's used indirectly by imagemagick (you can disable it), which means many people using imagemagick to parse images from untrusted sources get exposed to ghostscript's poor security.

Re:Upload2Shell · CVE-2026-125396 by viraptor on Saturday November 21, 2026 @04:16PM (#50593726)
> Unfortunately, ghostscript is the only implementation of postscript that's out there.

That needs lots of qualifiers. It's the only popular and widely distributed open-source implementation with known good performance and wide compatibility.

There were so many other implementations and vibed ports already that I expect ghostscript to be actually replaced in distros within a year or two. Very random example https://github.com/AndyCappDev/postforge

Re:Upload2Shell · CVE-2026-125396 by fock on Sunday November 22, 2026 @12:40AM (#50596638)
requirements: Cairo, psutils, Pillow.
Re:Upload2Shell · CVE-2026-125396 by viraptor on Sunday November 22, 2026 @01:20AM (#50596824)
Why is it interesting?
Re:Upload2Shell · CVE-2026-125396 by __del__ on Sunday November 22, 2026 @02:58AM (#50597294)
i imagine those dependencies are non-trivial outside of linux
Re:Upload2Shell · CVE-2026-125396 by zettabomb on Sunday November 22, 2026 @05:36AM (#50598285)
They're trivial anywhere you have Python.
Re:Upload2Shell · CVE-2026-125396 by fock on Sunday November 22, 2026 @01:09PM (#50602227)
they're also a trivial way to call all amounts of random C-code with... Probably even gs...
Re:Upload2Shell · CVE-2026-125396 by viraptor on Sunday November 22, 2026 @06:37AM (#50598690)
Once you want to support everything ghostscript does, nothing is trivial. Ghostscript depends on fun stuff too https://packages.ubuntu.com/stonking/libgs10

But it could be worse. Cairo and Pillow are very established.

Re:Upload2Shell · CVE-2026-125396 by trebligdivad on Saturday November 21, 2026 @05:04PM (#50594095)
Yes, and people didn't previously write big webpages, come up with a fancy name, and notify about a dozen different companies before just writing a ghostscript fix.
Re:Upload2Shell · CVE-2026-125396 by werrett on Sunday November 22, 2026 @03:43AM (#50597528)
No previously it was just confined to OpenSSL bugs (2014) [1], linux kernel race conditions (2016) [2], CPU speculative execution (2018) [3] just to randomly list some of the earlier ones.

It quickly became cringe, but the annoyance you're feeling right now is not due to folks branding vulns.. It's that the rate of these bugs has gone up 5-20x since ~July this year.

Unfortunately this is the new normal. It's not going to get "better" any time soon.

[1]: https://www.heartbleed.com/ [2]: https://dirtycow.ninja/ [3]: https://spectreattack.com

Re:Upload2Shell · CVE-2026-125396 by trebligdivad on Sunday November 22, 2026 @11:00AM (#50600844)
Oh I still regard 2014 as modern; remember Ghostscript came out in 1988 - I've been using it since the mid 90's!
Re:Upload2Shell · CVE-2026-125396 by g-b-r on Saturday November 21, 2026 @06:08PM (#50594550)
Hopefully few people install Ghostscript if they don't need it, on a server that processes user uploads
Re:Upload2Shell · CVE-2026-125396 by WesolyKubeczek on Saturday November 21, 2026 @06:33PM (#50594709)
You install ImageMagick, it most likely depends on Ghostscript.

You use something else than ImageMagick, say, to resize an uploaded image, and the moment it sees a color-managed image, it will produce something that looks like puke.

I had to do a very custom build of ImageMagick to get rid of dependencies on libgs and libX11. It wasn't fun.

Re:Upload2Shell · CVE-2026-125396 by g-b-r on Saturday November 21, 2026 @11:19PM (#50596196)
Yeah, sadly true
Re:Upload2Shell · CVE-2026-125396 by viraptor on Sunday November 22, 2026 @12:11AM (#50596513)
ImageMagick was problematic for so long by pulling everything and the kitchen sink as dependencies. It's just not something you'd like to replace because it's got nice features and... works. It feels absurd but right now, if you have a very narrow use case (like just resizing), it may be better to make an LLM create an alternative, in a safer language, with validated core components, tested on a large number of samples.
Re:Upload2Shell · CVE-2026-125396 by asimovDev on Sunday November 22, 2026 @01:58AM (#50597000)
Something that uses CImg just for resizing could be a decent alternative. It’s a library but they provided a nice cli for it the last time i checked
Re:Upload2Shell · CVE-2026-125396 by g-b-r on Sunday November 22, 2026 @03:25AM (#50597454)
Yes, it seems much smaller than ImageMagick.

ImageMagick has a big attack surface, when most people probably use it just for cropping and resizing.

Just use something leaner, when you can.

Re:Upload2Shell · CVE-2026-125396 by WesolyKubeczek on Sunday November 22, 2026 @06:55AM (#50598790)
„When you can” is doing the heavy lifting here. Also, sometimes you need to process PostScript-adjacent things.
Re:Upload2Shell · CVE-2026-125396 by amiga386 on Sunday November 22, 2026 @02:51PM (#50603224)
Another alternative is GraphicsMagick (https://www.graphicsmagick.org/) which aims to be API and utility compatible with ImageMagick, but spends most of its development effort on fuzzing, verification, etc. It's a more secure alternative to ImageMagick for those who've developed something significant that depends on ImageMagick.
Re:Upload2Shell · CVE-2026-125396 by kalleboo on Sunday November 22, 2026 @08:27AM (#50599504)
I was looking through the PPDs a Brother printer installed for Linux, it had a pre-built ghostscript binary in there that hadn't been updated in god knows how long. I wonder if printing a PDF with an embedded font or something could trigger that.
Re:Upload2Shell · CVE-2026-125396 by koolba on Saturday November 21, 2026 @07:11PM (#50594927)
> Unfortunately, ghostscript is the only implementation of postscript that's out there.

This sounds like an afternoon’s worth of prompting could double the number of implementations.

Re:Upload2Shell · CVE-2026-125396 by wolfi1 on Sunday November 22, 2026 @12:33AM (#50596619)
could be, but it's just ghostscript, rewritten
Re:Upload2Shell · CVE-2026-125396 by Natsu on Sunday November 22, 2026 @06:07AM (#50598492)
[delayed]
Re:Upload2Shell · CVE-2026-125396 by thayne on Sunday November 22, 2026 @11:37AM (#50601173)
A lot of these 4shell vulns are only theoretical RCE. That's not to say they aren't serious, but I think the severity is exaggerated a fair amount.
Re:Upload2Shell · CVE-2026-125396 by anthk on Sunday November 22, 2026 @09:58AM (#50600302)
GS should be pledged under OpenBSD.
Re:Upload2Shell · CVE-2026-125396 by mghackerlady on Sunday November 22, 2026 @04:59PM (#50604358)
Isn't GS GPLd? I imagine they'd attempt to clone it or make their own GS-esque thing if they though it was a big enough problem to warrant stepping in
Re:Upload2Shell · CVE-2026-125396 by Insimwytim on Saturday November 21, 2026 @03:31PM (#50593341)
At the time of heartbleed and the likes, we may have not had the best code, but at least people who named things were a little bit more imaginative.
Re:Upload2Shell · CVE-2026-125396 by dgacmu on Saturday November 21, 2026 @03:33PM (#50593349)
Wish they'd named it Shell In The Ghost
Re:Upload2Shell · CVE-2026-125396 by steve1977 on Saturday November 21, 2026 @03:54PM (#50593539)
We don't do human creativity around here sir.
Re:Upload2Shell · CVE-2026-125396 by skeledrew on Saturday November 21, 2026 @05:12PM (#50594155)
Missed opportunity.
Re:Upload2Shell · CVE-2026-125396 by GoblinSlayer on Sunday November 22, 2026 @04:49AM (#50597901)
Just tell AI to do it.
Re:Upload2Shell · CVE-2026-125396 by IshKebab on Sunday November 22, 2026 @10:40AM (#50600663)
No, only hackneyed titles allowed.
Re:Upload2Shell · CVE-2026-125396 by layer8 on Saturday November 21, 2026 @04:43PM (#50593933)
I’m waiting for Stairway2Shell.
Re:Upload2Shell · CVE-2026-125396 by mpvjs on Saturday November 21, 2026 @06:16PM (#50594605)
In the meantime you may enjoy the playlist:

"Mishell" by The Byteless, about endianness (these are "words" that go together well)

"Ring my shell" by Anita Reward, about bounties for remote terminal exploits (I guess You did by the look in your eyes - Look in your eyes, look in your eyes)

"Screen is blue" a classic by Andre Popp Upp about the well known behavior of windows OS family.

Re:Upload2Shell · CVE-2026-125396 by xorcist on Sunday November 22, 2026 @06:07AM (#50598496)
It's better than the inevitable highway2shell.
Re:Upload2Shell · CVE-2026-125396 by dvh on Saturday November 21, 2026 @05:40PM (#50594349)
Do you think people will finally start removing decade old cruft from libraries and/or start creating single purpose minimal libraries? Or will the defense be just reactionary and on per cve basis?
Re:Upload2Shell · CVE-2026-125396 by manytimesaway on Saturday November 21, 2026 @07:35PM (#50595060)
For sure, having thousands of thousands of minimal libraries is truly what made NPM...
Re:Upload2Shell · CVE-2026-125396 by lofaszvanitt on Saturday November 21, 2026 @10:31PM (#50595950)
like left-pad :PP
Re:Upload2Shell · CVE-2026-125396 by freecodeio on Saturday November 21, 2026 @05:56PM (#50594467)
this title isn't helping and is just clickbait
Re:Upload2Shell · CVE-2026-125396 by usef- on Saturday November 21, 2026 @09:29PM (#50595637)
yes, and it feels like a mild abuse of the "2shell" name. It's a flaw in ghostscript, not the upload control.

People whose attention you're trying to grab with marketing would be ghostcript users, presumably.

Re:Upload2Shell · CVE-2026-125396 by DangIsATyrant on Sunday November 22, 2026 @12:25AM (#50596585)
I dont read these disclosures at this point, its all vibe coder slop trying to sell some AI security consultancy or product. They dont even understand their own vulns.
Re:Upload2Shell · CVE-2026-125396 by topranks on Saturday November 21, 2026 @06:34PM (#50594722)
Seems like they did the right thing disclosure wise anyway.

Who cares about the name all bugs get stupid names.

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.
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
Re:Upload2Shell · CVE-2026-125396 by IshKebab on Sunday November 22, 2026 @10:37AM (#50600638)
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.

Re:Upload2Shell · CVE-2026-125396 by Bender on Saturday November 21, 2026 @09:52PM (#50595749)
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!

Re:Upload2Shell · CVE-2026-125396 by anthk on Sunday November 22, 2026 @09:56AM (#50600294)
OpenBSD will get tons of support with pledged graphicsmagick and ffmpeg (and maybe GS).

I wish Ori B finishes the GeFS port from 9front.

Re:Upload2Shell · CVE-2026-125396 by int0x29 on Saturday November 21, 2026 @06:57PM (#50594853)
That timeline is unreadable. Just say what was found impacted when with versions along with patch dates and versions. I don't need to know about case studies that will hypothetically be written. I don't need little blurbs under everything. "What we said" should instead be "publicly disclosed."

Honestly the whole thing should be a table so you can group the different bits of the timeline for different software/services by software/service rather than time.

[dead]
Re:Upload2Shell · CVE-2026-125396 by tomhow on Saturday November 21, 2026 @09:11PM (#50595546)
We've banned this account for going on tilt with a series of egregiously abusive comments over the past few days.
Re:Upload2Shell · CVE-2026-125396 by oguz-ismail2 on Saturday November 21, 2026 @09:13PM (#50595549)
imagine being this mad at 5 AM in the morning lol
Re:Upload2Shell · CVE-2026-125396 by awestroke on Sunday November 22, 2026 @02:04AM (#50597028)
imagine not understanding timezones
Re:Upload2Shell · CVE-2026-125396 by oguz-ismail2 on Sunday November 22, 2026 @03:34AM (#50597496)
imagine not getting a joke
Re:Upload2Shell · CVE-2026-125396 by Thorentis on Saturday November 21, 2026 @07:25PM (#50594994)
I call these "slop disclosures". I have slop fatigue.
Re:Upload2Shell · CVE-2026-125396 by SV_BubbleTime on Saturday November 21, 2026 @07:29PM (#50595015)
The first hint in <x>2Shell. The first twenty times it was ok, now, it’s just lazy.
Re:Upload2Shell · CVE-2026-125396 by DangIsATyrant on Sunday November 22, 2026 @12:18AM (#50596555)
Someone on twitter looked uo every 2shell domain registered in the last month, theres still like 30 more of these in the pipe (or someone just collecting)
Re:Upload2Shell · CVE-2026-125396 by Bootvis on Sunday November 22, 2026 @02:46AM (#50597224)
Indeed, why not Ghost in the Shell or Shell in the Ghost
Re:Upload2Shell · CVE-2026-125396 by necovek on Sunday November 22, 2026 @02:52AM (#50597255)
Ghost Buster? As in, busting the ghostscript open.
Re:Upload2Shell · CVE-2026-125396 by J-Kuhn on Sunday November 22, 2026 @05:42AM (#50598321)
The first one was in log4j, so that sounded similar to log4shell.

But now, even things that are not 4j get the 4shell "pun". But... it doesn't work.

Re:Upload2Shell · CVE-2026-125396 by lopatin on Sunday November 22, 2026 @09:02AM (#50599816)
Not only unreadable, but it's also in very poor taste to use those kinds of exciting, product-announcement-like fonts and look-and-feels for a security issue. That kind of design is meant to convey the "isn't this fun, guys?" feeling.
Re:Upload2Shell · CVE-2026-125396 by varenc on Saturday November 21, 2026 @10:14PM (#50595854)
[delayed]
Re:Upload2Shell · CVE-2026-125396 by ajasmin on Saturday November 21, 2026 @11:06PM (#50596140)
Are webfonts passed to Ghostscript as-is when printing a webpage on a raster device?
Re:Upload2Shell · CVE-2026-125396 by rietta on Saturday November 21, 2026 @11:08PM (#50596146)
ghostscript is everywhere. It's also AGPL, which I am not certain is commonly understood.
Re:Upload2Shell · CVE-2026-125396 by Dwedit on Sunday November 22, 2026 @08:50AM (#50599703)
A GhostScript bug (from a very outdated version) famously led to the compromise of 4chan.