Skip to content

Security: transformers 4.41.2 flagged by Veracode (6 High / 7 Medium) — please upgrade #3691

Open

Description

@rfedkovych-collab

Hi Flair maintainers 👋

Our dependency scanning (Veracode SCA) is flagging transformers==4.41.2 as vulnerable. Since transformers is a transitive dependency for Flair in our setup, this is impacting downstream users.

What we’re seeing
Package: transformers
Version: 4.41.2
Tool: Veracode SCA
Findings: 6 High severity + 7 Medium severity issues (per Veracode)

Could you please:

Confirm whether Flair can upgrade/pin transformers to a non-vulnerable version, and

Image

share guidance on the minimum safe version you recommend (or whether there’s an alternate dependency approach)?

Many thanks for considering my request!

Activity

  1. denniszag commented on Apr 8, 2026

    @denniszag

    Adding another data point: CVE-2026-1839 (CVSS 6.5, disclosed 2026-04-07) affects all transformers<5.0.0rc3. The fix landed in transformers 5.0.0rc3 (stable 5.0.0 shipped 2026-01-26, latest is 5.5.0).

    Flair currently pins transformers[sentencepiece]>=4.25.0,<5.0.0, so downstream users cannot resolve this CVE without overriding the constraint.

    Would it be possible to relax the upper bound to <6.0.0 (or at least <5.6.0) and cut a patch release? Happy to help test or submit a PR if that would speed things up.

  2. added a commit that references this issue on Apr 8, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions