gbhackers.comยท23 november 2026

Ghostscript Upload2Shell Flaw Exposes WordPress Sites to Remote Code Execution via ImageMagick

Image for the article: Ghostscript Upload2Shell Flaw Exposes WordPress Sites to Remote Code Execution via ImageMagick
Image via gbhackers.com

A Ghostscript vulnerability named Upload2Shell enables remote code execution on WordPress sites using Imagick and vulnerable Ghostscript versions. Researchers Paulos Yibelo and pwn.ai disclosed the flaw on November 21, 2026, with CVE-2026-125396 assigned a CVSS 4.0 score of 8.5. The issue stems from a use-after-free error in the Type 1 font loader, bypassing Ghostscript's -dSAFER protections. WordPress patched its exposure in version 7.0.4, but administrators must also update Ghostscript to version 10.08.0 or later.