Skip to content

fix(deps): pin Pillow floor to 12.3.0 — clears 9 CVEs failing the pip-audit gate#155

Merged
Ztein merged 1 commit into
mainfrom
fix/pillow-cve-lockfile
Jul 22, 2026
Merged

fix(deps): pin Pillow floor to 12.3.0 — clears 9 CVEs failing the pip-audit gate#155
Ztein merged 1 commit into
mainfrom
fix/pillow-cve-lockfile

Conversation

@Ztein

@Ztein Ztein commented Jul 22, 2026

Copy link
Copy Markdown
Owner

static has been red on every PR because the pip-audit hard gate (T-013) found 9 known CVEs in pillow 12.2.0 (PYSEC-2026-2255, PYSEC-2026-3451..3454, CVE-2026-54058/59198/59200/59204) — all fixed in 12.3.0.

The resolver kept selecting 12.2.0, so the floor is pinned explicitly in pyproject.toml (the same pattern T-009 used for the Starlette CVEs) and requirements.lock regenerated.

Verified: pip-audit -r requirements.lock --strictNo known vulnerabilities found; offline suite green (375 passed) with pillow 12.3.0 installed.

This unblocks static for all open PRs. The remaining red check (analyze) is the separate CodeQL version skew — fixed by #152 + #154, which only a human can merge (the bot lacks workflows permission).

🤖 Generated with Claude Code

…-audit gate

pip-audit (a hard CI gate, T-013) was failing on every PR: pillow 12.2.0 carries
PYSEC-2026-2255, PYSEC-2026-3451..3454 and CVE-2026-54058/59198/59200/59204, all
fixed in 12.3.0. The resolver kept selecting 12.2.0, so the floor is pinned
explicitly in pyproject — the same pattern T-009 used for the Starlette CVEs —
and requirements.lock regenerated.

Verified: pip-audit -r requirements.lock --strict → "No known vulnerabilities
found"; offline suite green (375 passed) with pillow 12.3.0 installed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Ztein
Ztein merged commit 962955e into main Jul 22, 2026
@Ztein
Ztein deleted the fix/pillow-cve-lockfile branch July 22, 2026 18:22
Ztein added a commit that referenced this pull request Jul 22, 2026
The lockfile-drift check in CI regenerates requirements.lock with the
canonical command and diffs it. The lock landed in #155 was generated
with an extra --refresh flag, which uv records in the header comment —
so every 'Lockfile is up to date' step failed on that one line.

Regenerated with the canonical command; only the header changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
github-actions Bot pushed a commit that referenced this pull request Jul 22, 2026
* build(deps): Bump github/codeql-action/init from 4.36.3 to 4.37.3

Bumps [github/codeql-action/init](https://github.com/github/codeql-action) from 4.36.3 to 4.37.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@54f647b...e4fba86)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(ci): drop --refresh from the lockfile header

The lockfile-drift check in CI regenerates requirements.lock with the
canonical command and diffs it. The lock landed in #155 was generated
with an extra --refresh flag, which uv records in the header comment —
so every 'Lockfile is up to date' step failed on that one line.

Regenerated with the canonical command; only the header changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* build(deps): group codeql-action updates so init and analyze move together

codeql-action/init and codeql-action/analyze are separate Dependabot
update paths, so ungrouped they arrive as two PRs and land at different
versions. CodeQL then fails the SARIF upload ('Error when processing the
SARIF file') until the pair is realigned by hand.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* build(deps): bump codeql-action/analyze to 4.37.3 to match init

CodeQL fails the SARIF upload when init and analyze run different
versions ('Loaded a configuration file for version 4.37.3, but running
version 4.37.2'). Dependabot bumped init only; this realigns analyze.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joel Stenberg <l.j.stenberg@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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