Skip to content

Bump vulnerable optional-extra deps off known-CVE versions (transformers/snowflake/gitpython) #1025

Closed

Description

@AmitoVrito

Summary

OSV audit (549 packages, all extras+groups) found 3 optional-extra dependencies pinned to versions with known CVEs that have fixed releases. Raising the version floor (same security-floor pattern used for pypdf/h2) clears them without any API change.

Extra Package Locked Vuln Sev Fix floor
transformers transformers 5.9.0 CVE-2026-9856 — save_pretrained path traversal → arbitrary file write via chat-template name HIGH >=5.10.0
snowflake snowflake-connector-python 4.5.0 CVE-2026-15925 — improper TLS hostname verification CRITICAL >=4.7.1
git gitpython 3.1.58 CVE-2026-78675/76/77/78 (4×) HIGH >=3.1.59

Not fixed (no upstream patch — already risk-accepted, tracked separately)

  • chromadb 0.6.3 — 3 advisories (code injection + cross-tenant + RBAC), all server-mode only; SynapseKit uses the embedded client. Already documented + capped <1.0.0 in pyproject.toml. No fix exists.
  • couchbase 4.6.3 — CVE-2023-45875; no fixed release on PyPI.

Fix

Bump the three floors in pyproject.toml (both the [project.optional-dependencies] extras and the aggregate list) and run uv lock + commit uv.lock. Verify with a re-run of the OSV audit.

Acceptance

  • Post-bump OSV audit shows the 3 packages clean; only the 2 no-fix packages remain (documented).
  • CHANGELOG [Unreleased] Security entry.

Activity

  1. added
    bug
    security
    on Sep 8, 2026
  2. added a commit that references this issue on Sep 12, 2026
    73c27c5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions