Hunt: Upload2Shell (CVE-2026-125396): alert on gs processes spawning shells under web-server or print accounts, and on uploads whose bytes are PostScript but whose names say image or PDF
- Process: gs, ghostscript or gstopdf with a child shell (sh, bash, dash) or other unexpected child, especially under www-data, apache, nginx, php-fpm or lp.
- Content: uploads and mail attachments named .jpg/.png/.pdf whose first bytes are
%!PSor a Type 1 font header; ImageMagick policy denials in logs. - CUPS: print jobs from unexpected or anonymous IPP clients to shared queues.
Sources: pwn.ai (Paulos Yibelo): How We Hacked the Pipes, Upload2Shell, CVE-2026-125396 (dated Nov 17, 2026)