Ghostscript CVE-2026-125396 (Upload2Shell)

Incident Report for CloudLinux

Identified

We are aware of CVE-2026-125396 (Upload2Shell), a high-severity vulnerability in Ghostscript before 10.08.0. A crafted file can bypass the -dSAFER sandbox. On web servers, this can lead to remote code execution through ImageMagick or Imagick image processing, for example, thumbnail generation on WordPress sites.

Ghostscript on all supported CloudLinux OS versions is affected:
- CloudLinux OS 7 ELS (ghostscript 9.25)
- CloudLinux OS 8 (ghostscript 9.27)
- CloudLinux OS 9 (ghostscript 9.54)
- CloudLinux OS 10 (ghostscript 10.02)

Red Hat has not released a fix yet, so we are backporting the upstream fix ourselves. Fixed packages for CloudLinux OS 8, 9 and 10 are being built now, and the CloudLinux OS 7 ELS fix is in progress. We will update this page as soon as fixed packages are available, with package versions and update commands.

Until then, you can reduce exposure by blocking Ghostscript-backed formats (PS, EPS, PDF, XPS) in the ImageMagick policy.xml, as described in cPanel's advisory:
https://support.cpanel.net/hc/en-us/articles/45216747700503-Security-CVE-2026-125396-Ghostscript-Upload2Shell
Posted Nov 22, 2026 - 14:47 UTC
This incident affects: CloudLinux OS Components (Alt-PHP).