Skip to content

fix: close the 113 Dependabot alerts on main (#676) - #677

Merged
a-ratz merged 1 commit into
mainfrom
fix/676-security-deps
Oct 25, 2026
Merged

a-ratz merged 1 commit into
mainfrom
fix/676-security-deps

Conversation

@a-ratz

@a-ratz a-ratz commented Oct 25, 2026

Copy link
Copy Markdown
Member

Closes #676.

What

main has 113 open Dependabot alerts from 10 packages (the breakdown is in #676). This PR moves each package to a fixed version:

  • pyproject.toml: pillow==13.0.0 (41 advisories, six critical, among them a JPEG decoder buffer overflow reachable through dashboard image uploads) and mcp==1.30.0. fastembed goes to 0.9.1 in the semantic extra, because 0.9.0 requires pillow<13 and the lock does not resolve without it.
  • uv.lock: uv lock --upgrade-package for certifi 2026.10.23, aiohttp 3.14.5, filelock 4.2.4 and opentelemetry-api 1.45.1 (the OpenTelemetry packages move with it to 1.45.1 / 0.66b1), plus the dev-only GitPython 3.2.1, nbconvert 7.17.2 and virtualenv 21.14.13.
  • Frontend: vitest, @vitest/coverage-v8 and @vitest/ui to 4.1.12. Only the ten vitest packages change in package-lock.json.
  • Backend 0.5.802, frontend 0.1.36 (CONTRIBUTING.md: bump the version as for any other change), and a changelog entry under Unreleased > Security.

Pillow 13's breaking changes (I mode PNG saving, fromarray(mode=), get_child_images, _show, ImageCms attributes, Python 3.10) do not reach Flock: Image.from_pil converts every picture to RGB or RGBA before it saves it, and none of the removed APIs is used.

Next: main into ui-rework

When this is merged, a second PR merges main into ui-rework; no cherry-picks, so #623 does not get duplicate commits. A trial merge of this commit into ui-rework conflicts only in docs/about/changelog.md (plus the version lines once this PR's bump is in; ui-rework keeps its higher versions). The merged uv.lock passes uv lock --locked, and npm install --package-lock-only leaves the merged package-lock.json unchanged.

Checks

  • Backend, installed as CI does (uv sync --dev --all-groups --all-extras): pytest 3249 passed, 78 skipped.
  • Frontend with vitest 4.1.12 (npm ci): npm run type-check clean, npm test 437 passed, 3 skipped, npm run build passes.
  • uv lock resolves pillow 13.0.0, mcp 1.30.0 and fastembed 0.9.1 for every Python split.

- pillow 13.0.0 (41 advisories, six critical) and fastembed 0.9.1, whose
  0.9.0 requires pillow<13
- mcp 1.30.0
- lockfile: certifi 2026.10.23, aiohttp 3.14.5, filelock 4.2.4,
  OpenTelemetry 1.45.1, GitPython 3.2.1, nbconvert 7.17.2, virtualenv 21.14.13
- frontend: vitest 4.1.12
- backend 0.5.802, frontend 0.1.36
@a-ratz

a-ratz commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Local Codex review, round 1 (codex review --base origin/main)

No actionable regressions found in the dependency updates. Verification passed: 3,249 backend tests, 437 frontend tests, TypeScript checks, lockfile validation, and dependency compatibility checks. Live-provider tests were not run.

@a-ratz
a-ratz merged commit ec482e7 into main Oct 25, 2026
7 checks passed
@a-ratz
a-ratz deleted the fix/676-security-deps branch October 25, 2026 18:14
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.

Security: 113 Dependabot alerts on main (Pillow 13, certifi, aiohttp and 7 more)

1 participant