Update Pillow to 13.x (HIGH/CRITICAL CVEs in 12.3.0)
Thanks for Steward!
The core image ghcr.io/ivamic/immich-steward-core:0.4.0 ships Pillow 12.3.0 (pinned in uv.lock, also on main). Trivy and Grype report 28 HIGH/CRITICAL vulnerabilities in it, six of them CRITICAL (e.g. CVE-2026-112393, CVE-2026-112398, CVE-2026-112403, CVE-2026-112900, CVE-2026-96639); the fixed version for all of them is Pillow 13.0.0.
Since Steward decodes images it fetches from Immich (thumbnails, rotation), these code paths are reachable. Could you bump Pillow to 13.x in a release?
Reproduce:
trivy image --scanners vuln --severity HIGH,CRITICAL ghcr.io/ivamic/immich-steward-core:0.4.0
Thanks for taking an interest in my app, and thanks for the report!
I didn’t want to waste any time, so I’ve implemented the changes now - especially since I’m currently working on a large new feature, and I’m not sure how long that will take to complete.
Confirmed: Steward 0.4.1 ships Pillow 13.0.0 in both the core and the worker images. Image decoding is now also restricted to the formats Immich can actually send (JPEG, PNG, WebP, AVIF, GIF, BMP in the core; JPEG, WebP, PNG in the worker; HEIC, RAW and TIFF originals arrive as Immich's JPEG/WebP copies).
@Ivamic thanks for taking action that quickly - appreciate 😄