# Pillow CVE-2026-112900: How to find and fix it with GitLab

DevFeed: [Pillow CVE-2026-112900: How to find and fix it with GitLab](<https://devfeed.tech/articles/pillow-cve-2026-112900-how-to-find-and-fix-it-with-gitlab-102392.md>)

Original publisher: [Read original article](<https://about.gitlab.com/blog/pillow-cve-find-and-fix-with-gitlab/>)

Author: Daniel Abeles

Published: 2026-10-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [GitLab](<https://devfeed.tech/sources/gitlab.md>)

Topics: [GitLab](<https://devfeed.tech/topics/gitlab.md>), [Image](<https://devfeed.tech/topics/image.md>), [CVSS v4.0](<https://devfeed.tech/topics/cvss-v4-0.md>), [container image compliance](<https://devfeed.tech/topics/container-image-compliance.md>), [container images](<https://devfeed.tech/topics/container-images.md>)

Tags: [argument-injection](<https://devfeed.tech/tags/argument-injection.md>), [cve](<https://devfeed.tech/tags/cve.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [dependency-scanning](<https://devfeed.tech/tags/dependency-scanning.md>), [ghostscript](<https://devfeed.tech/tags/ghostscript.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [orbit](<https://devfeed.tech/tags/orbit.md>), [python](<https://devfeed.tech/tags/python.md>), [scanning](<https://devfeed.tech/tags/scanning.md>), [search](<https://devfeed.tech/tags/search.md>), [security](<https://devfeed.tech/tags/security.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [security-labs](<https://devfeed.tech/tags/security-labs.md>), [security-research](<https://devfeed.tech/tags/security-research.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [version](<https://devfeed.tech/tags/version.md>)

## AI overview

Pillow versions 2.6.0 through 12.x are affected by CVE-2026-112900, a critical argument injection in the Ghostscript call used to render EPS images; the supplied text says no in-the-wild exploitation has been reported. Upgrade to Pillow 13.0.0 or later, checking distribution security trackers because package versions and fixes vary. Rebuild and redeploy containers, update pinned versions, and check upstream base images. If upgrading is delayed, use generated filenames, restrict accepted image formats, or remove Ghostscript where EPS support is unnecessary. The excerpt recommends locating dependencies with GitLab dependency and container scanning, GitLab Orbit, and code search, then prioritizing projects that combine Pillow, Ghostscript, and uploads. GitLab Duo Agent Platform can help create project issues and merge requests, but people still need to review and merge changes, run image-processing tests for changed TIFF and PNG behavior, and confirm deployment. GitLab products and managed infrastructure are stated to be unaffected.

## Source excerpt

GitLab is not affected by CVE-2026-112900 or the other vulnerabilities fixed in Pillow 13.0.0. GitLab products do not include the Pillow library, and our Security team has found no evidence of impact to GitLab-managed infrastructure. GitLab.com, GitLab Self-Managed, and GitLab Dedicated are not impacted. Pillow is one of the most widely used image libraries in the Python ecosystem. It often sits several layers down in a dependency tree, pulled in by a web framework, a thumbnailing service or an ML toolkit that nobody chose it for directly. On October 16, 2026, the Pillow project released version 13.0.0, and one of its security fixes is CVE-2026-112900: an argument injection in the way Pillow calls Ghostscript to render EPS images. The CVE record, published on October 19, rates it 9.2 (Critical) on CVSS 4.0. It affects every Pillow release from 2.6.0 up to, but not including, 13.0.0. No exploitation in the wild has been reported so far, but CISA's assessment marks it as automatable with total technical impact. Upgrade Pillow to 13.0.0 on every project and image that handles untrusted images, and remove Ghostscript from images that do not need EPS support. This guide is for security and platform teams with Python projects on GitLab. It covers the fixed version for each distribution, how the flaw works, the other High and Critical issues fixed in the same release, how to locate affected projects with dependency scanning, container scanning, GitLab Orbit, and code search, and how to remediate at scale with GitLab Duo Agent Platform. CVE-2026-112900 at a glance CVE-2026-112900 is an OS command and argument injection flaw in Pillow's EPS plugin, rated Critical (CVSS 4.0 score of 9.2) by the CVE Numbering Authority (CNA). The CVE record was published on October 19, 2026. FieldDetailCVECVE-2026-112900GitHub advisoryGHSA-w889-685w-c8fhTitlePillow: Argument Injection in Ghostscript call, potentially leading into RCEWeaknessCWE-88 (argument injection), CWE-78 (OS command injec