You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security: transformers 4.41.2 flagged by Veracode (6 High / 7 Medium) — please upgrade #3691
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
share guidance on the minimum safe version you recommend (or whether there’s an alternate dependency approach)?
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.
Activity
denniszag commentedon Apr 8, 2026
Adding another data point: CVE-2026-1839 (CVSS 6.5, disclosed 2026-04-07) affects all
transformers<5.0.0rc3. The fix landed intransformers 5.0.0rc3(stable5.0.0shipped 2026-01-26, latest is5.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.flairNLPGH-3691: Relax transformers upper bound to <6.0.0 (fixes CVE-…