SecOraLens
HighCVE

Hackers Could Execute Commands on WordPress, Email and Print Servers Through Upload2Shell Flaw

Cyber Security News·Source published ·1 min read·Video available
Advisory videoOpen on YouTube ↗

What happened?

A flaw in Ghostscript let researchers run commands on WordPress, Roundcube webmail, and Linux print servers through routine file processing. The vulnerability, dubbed Upload2Shell and tracked as CVE-2026-125396, affects upstream Ghostscript releases before 10.08.0. It sits in the software’s Type 1 font loader, but the affected servers did not need to expose Ghostscript directly. Their own preview, thumbnail, and print features delivered files to it. The CVE record gives the flaw a CVSS 4.0 score of 8.5 and lists a local attack vector.

Key details

  • The vulnerability is tracked as CVE-2026-125396 and affects upstream Ghostscript releases before 10.08.0.
  • Researchers demonstrated command execution on WordPress via media preview using Imagick and ImageMagick.
  • CUPS print server on Debian 13 accepted unauthenticated network print jobs and sent them to Ghostscript for conversion.
  • Artifex fixed the underlying flaw in Ghostscript 10.08.0; distributions may backport the fix to older versions.
  • Updating the host OS does not replace Ghostscript inside containers or application bundles, requiring separate verification.

What is affected?

  • Upstream Ghostscript releases before 10.08.0
  • WordPress sites using Imagick and ImageMagick for media previews
  • Roundcube webmail 1.7.2 with ImageMagick policy allowing handoff to Ghostscript
  • CUPS print server on Debian 13 with shared queue accepting unauthenticated jobs

How do I fix or mitigate it?

  1. Require authentication for shared CUPS queues and restrict network access to print servers.
  2. Suspend automatic previews for untrusted files where practical if patching must wait.

What should defenders look for?

  • Marker file written as lp user on print server during test.

Summarised by SecOraLens from Cyber Security News. Always read the original source before acting. How SecOraLens verifies advisories.

What to do next

For CISOs and SOC leads

Brief your board. Brief your team.

Executive risk briefs for governance, technical kill-chains for the SOC — delivered as advisories publish. Critical alerts within 1 hour. No spam, unsubscribe anytime.