chore: bump pillow dependency#427
Open
brycelowe wants to merge 1 commit intotogethercomputer:mainfrom
Open
Conversation
The pillow library has recently released a CVE that we're interested in adopting in our project. However, the version of pillow is pinned in this project to version 11 which doesn't have this CVE backported to it. It looks like Pillow is mainly provided for use in a CLI and it only uses the `.open` and `.show`. I don't see anything that would break in the change log if we allowed people to move up past version 11. I realize that Pillow 12 is supported in the newer version of the SDK (and that's what I'm being prompted to upgrade too) but I'd like to patch this CVE before we make the move to the new SDK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pillow library has recently released a CVE that we're interested in adopting in our project CVE-2026-25990. However, the version of pillow is pinned in this project to version 11 which doesn't have this CVE backported to it.
It looks like Pillow is mainly provided for use in a CLI and it only uses the
.openand.show. I don't see anything that would break in the change log if we allowed people to move up past version 11.I realize that Pillow 12 is supported in the newer version of the SDK (and that's what I'm being prompted to upgrade too) but I'd like to patch this CVE before we make the move to the new SDK.
Have you read the Contributing Guidelines?
Issue #426
Describe your changes
Relax the hard pin of version 11 to include version 12. The usage of Pillow in this SDK seems limited to the
.openand.showAPIs.Note
Low Risk
Dependency spec change only; primary risk is potential runtime incompatibilities if downstream environments resolve to Pillow 12.
Overview
Relaxes the
pillowdependency constraint inpyproject.tomlfrom^11.1.0to>=11.1.0,<13.0.0, allowing installs with Pillow 12 while keeping an upper bound to avoid unexpected major-version changes.Written by Cursor Bugbot for commit 0a2c131. This will update automatically on new commits. Configure here.