Skip to content

chore: bump pillow dependency#427

Open
brycelowe wants to merge 1 commit intotogethercomputer:mainfrom
brycelowe:bjl/chore/bump-pillow-dependency
Open

chore: bump pillow dependency#427
brycelowe wants to merge 1 commit intotogethercomputer:mainfrom
brycelowe:bjl/chore/bump-pillow-dependency

Conversation

@brycelowe
Copy link

@brycelowe brycelowe commented Feb 13, 2026

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 .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.

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 .open and .show APIs.


Note

Low Risk
Dependency spec change only; primary risk is potential runtime incompatibilities if downstream environments resolve to Pillow 12.

Overview
Relaxes the pillow dependency constraint in pyproject.toml from ^11.1.0 to >=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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant