CVE-2026-112900
CRITICAL 9.2Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin.Ghostscript passes a caller-controlled input filename after -f without converting it to a safe absolute path, so a name beginning with a hyphen can be interpreted as a Ghostscript option. An attacker who controls the filename can inject Ghostscript arguments. Arbitrary command execution specifically requires a leading @ argument-file filename and control of the referenced text file containing additional Ghostscript arguments; the reported chain reproduces with the default -dSAFER invocation. This issue is fixed in version 13.0.0.
Severe if exploited (CVSS 9.2), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
1.1%chance of exploitation in 30 days · 64th percentile
Impact if exploited
9.2CVSS 4.0 · CRITICAL
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-78: : Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-88: : Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References and research data (JSON)
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
pillow PyPI
pkg:pypi/pillow
ECOSYSTEM range- Introduced version (included): 2.6.0
- Fixed boundary (excluded): 13.0.0
78 explicitly listed affected versions
10.0.0, 10.0.1, 10.1.0, 10.2.0, 10.3.0, 10.4.0, 11.0.0, 11.1.0, 11.2.1, 11.3.0, 12.0.0, 12.1.0, 12.1.1, 12.2.0, 12.3.0, 2.6.0, 2.6.1, 2.6.2, 2.7.0, 2.8.0, 2.8.1, 2.8.2, 2.9.0, 3.0.0, 3.1.0, 3.1.0.rc1, 3.1.0rc1, 3.1.1, 3.1.2, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.1, 3.4.2, 4.0.0, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.3.0, 5.0.0, 5.1.0, 5.2.0, 5.3.0, 5.4.0, 5.4.0.dev0, 5.4.1, 6.0.0, 6.1.0, 6.2.0, 6.2.1, 6.2.2, 7.0.0, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 8.0.0, 8.0.1, 8.1.0, 8.1.1, 8.1.2, 8.2.0, 8.3.0, 8.3.1, 8.3.2, 8.4.0, 9.0.0, 9.0.1, 9.1.0, 9.1.1, 9.2.0, 9.3.0, 9.4.0, 9.5.0
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147ZAdditional upstream package constraints
{ "database": { "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-w889-685w-c8fh/GHSA-w889-685w-c8fh.json" } }
Unverified PoC candidates
Catalogue matches for further research. These repositories have not been validated as working exploits.
3 candidates
- https://github.com/techupdate24/python-pillow-rce-cve-2026-112900
A complete guide and workflow for integrating Agile sprints with DevOps CI/CD pipelines.
PoC-in-GitHub · CVE-2026-112900
PoC-in-GitHub · CVE-2026-112900 · Updated 2026-10-23T12:55:32Z - https://github.com/moprius/CVE-2026-112900-Pillow-PoCPoC-in-GitHub · CVE-2026-112900
PoC-in-GitHub · CVE-2026-112900 · Updated 2026-10-25T00:37:24Z - https://github.com/kavin-jindal/CVE-2026-112900-PoC
Proof of Concept (PoC) demonstrating Argument Injection in Pillow's Ghostscript call (Pillow < 13.0.0) potentially leading to arbitrary command execution (RCE).
PoC-in-GitHub · CVE-2026-112900
PoC-in-GitHub · CVE-2026-112900 · Updated 2026-10-25T16:23:48Z
All CVSS metrics
- CRITICAL 9.2 v4.0 · CNA Primary
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CRITICAL 9.2 v4.0 · NVD Secondary
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
Advisories
- https://osv.dev/vulnerability/GHSA-w889-685w-c8fh GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z - https://nvd.nist.gov/vuln/detail/CVE-2026-112900 GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-104661 EUVD · EUVD-2026-104661
Technical & other
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh CVE record · GitHub_M · Updated 2026-10-19T22:07:50.418Z
NVD · CVE-2026-112900 · Updated 2026-10-20T19:50:26.943
GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z - https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9 CVE record · GitHub_M · Updated 2026-10-19T22:07:50.418Z
NVD · CVE-2026-112900 · Updated 2026-10-20T19:50:26.943
GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z - https://github.com/python-pillow/Pillow/releases/tag/13.0.0 CVE record · GitHub_M · Updated 2026-10-19T22:07:50.418Z
NVD · CVE-2026-112900 · Updated 2026-10-20T19:50:26.943
GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z - https://github.com/python-pillow/Pillow GitHub Advisory Database · GHSA-w889-685w-c8fh
GitHub Advisory Database · GHSA-w889-685w-c8fh · Updated 2026-10-26T08:55:37.091976147Z