Upload2Shell: Ghostscript runs code
- Act today
- Act this week
- Patch on schedule
- Watch
GhostscriptCVE-2026-125396Human reviewed
Schedule the update for affected releases.
CVSS 7.8 scores the flaw itself. We rate it lower because CISA saw no attacks.
You're affected only if all of these are true
- A workflow you run uses Ghostscript to convert, preview or print PDF or PostScript files.
- Its Ghostscript release is before 10.08.0.
Do Now
10.08.0: 10.08.0 or a fixed distro package.
Patch units reachable from untrusted file sources first. If reach is unknown, verify it.
Pause conversion, preview and printing of untrusted PDF or PostScript until the fix is in place.
How to fix and checkThis advisory alone cannot confirm that your server is safe.
Facts behind this page
- No login needed to attack
- A user must click or open something
- Low attack complexity
- Fix out: 10.08.0
- Not on CISA's exploited list
- CISA saw no attacks as of
Checking the 2 conditions
A workflow you run uses Ghostscript to convert, preview or print PDF or PostScript files.
Its Ghostscript release is before 10.08.0.
Affected versions and package fixes
- 10.08.0: before 10.08.0. Fixed in 10.08.0 or a fixed distro package.
When the risk applies
The sources list no condition beyond the ones above.
What public attack reports can show
The sources reviewed report no attacks. That does not prove that no attacks happened.
Do Now
- Prioritize workflows that convert, preview or print untrusted PDF or PostScript. Include local jobs as well as services that pass files to Ghostscript.
Do Next
Confirm that bundled copies and workers use the fixed package before restoring untrusted document processing.
Proof the update is done
Check the running package and record the distributor advisory if you use a backport.
Records that show the conditions apply
Inventory records, installed version records and provider notices show whether each condition applies.
Where to look first
Review existing conversion, preview and print logs for unexpected processing or activity around untrusted documents. Record gaps in those logs.
What to recheck
Check the CVE record, Artifex Ghostscript vulnerability, pwn.ai disclosure, CISA KEV for updates. Note the date of each check.
Check your own records
Use your approved AI tool. Require evidence. Flag unknowns.
Find Ghostscript in conversion, preview and print workflows. Record version, backport and file-source evidence.
Read the prompt
What the records can show
Package inventories and distributor advisories can establish fix status. Job records can identify which workflows processed untrusted documents.
Upload2Shell: Ghostscript runs code
Why this verdict
The fix is available, and no in-the-wild use was found at the recorded check. Untrusted PDF or PostScript conversion, preview and printing determine priority.
How to read the score
CVSS 7.8 from VulnCheck CNA record for CVE-2026-125396.
CVSS 4.0 8.5 from VulnCheck CNA record for CVE-2026-125396.
Technical detail
An application only needs to process the file. Relying on the Ghostscript safety flag alone leaves this flaw open. -dSAFER alone does not block this.
The reported finding
Upload2Shell: Ghostscript runs code
The pwn.ai disclosure covers direct document processing and integrations such as ImageMagick, Pillow and a shared CUPS print queue.
Fix guidance
Artifex lists 10.08.0 as fixed. The timestamped release is dated 2026-09-08. Vendor news page dates 10.08.0 as 2026-05-19 in the heading and 2026-08-18 in the footer.
Sources and changelog
- VulnCheck CNA record for CVE-2026-125396 (checked ). Affected releases, the Ghostscript safety restriction bypass and the CNA base scores.
- Artifex Ghostscript vulnerability list (checked ). Names Ghostscript 10.08.0 as the fixed release.
- Artifex Ghostscript 10.08.0 release (checked ). Release timestamp 2026-09-08.
- pwn.ai disclosure (checked ). Disclosure dated 2026-11-21. Names Upload2Shell and documents conversion, preview and print exposure.
- CISA Known Exploited Vulnerabilities catalog (checked ). No entry found in KEV catalog 2026.11.23 at the recorded check.
- Ghostscript release news (checked ). The vendor news page gives a different date. Use the timestamped Artifex release for the release date.
Changelog
- Page moved to the v7 layout. The facts row was checked against the CVE record and the CISA KEV catalog on 2026-11-26. Other sources were not re-fetched, so their last-checked dates are unchanged.
- Initial Variant B advisory.
How IntegrityLab.ai can help
- IntegrityLab.ai checks the internet-facing systems you approve for exposed services, sensitive files, and configuration issues.
- You get human-reviewed findings with evidence, an explanation of the risk, and recommended fixes.
- We can agree on a retest to check whether your fixes resolved the reported issues.
New CVEs and zero days move quickly, so use this advisory together with your vendor's guidance.