[ctx]ctxseccontext security: attacks on the harness and context layer of AI agents, plus exploited-now news, hunting and playbooks.

← Threat Hunting · markdown

research (based on pwn.ai's Upload2Shell write-up, Nov 2026)

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 %!PS or 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)