Is scikit-learn 1.0 vulnerable?

PyPI · 3 releases from 1.0.0 to 1.0.2 · latest scikit-learn is 1.9.1 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. scikit-learn 1.0.2, the last 1.0 release, is affected by 1 known security advisory (1 medium), including CVE-2024-5206. 1 more affects earlier 1.0.x releases. Upgrade to 1.5.0 or later to fix all of them.

Upgrade with:pip install 'scikit-learn>=1.5.0'

Is your project on an affected scikit-learn?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting scikit-learn 1.0.2

  • MediumCVE-2024-5206GHSA-jw8x-6495-233v6 Jun 2024

    scikit-learn sensitive data leakage vulnerability

    Affected
    <1.5.0
    Fixed in
    1.5.0

Fixed within 1.0.x, affecting earlier releases

  • HighCVE-2020-28975GHSA-jxfp-4rvq-9h9m24 May 2022

    scikit-learn Denial of Service

    Affected
    >=0.23.2 <1.0.1
    Fixed in
    1.0.1

Every scikit-learn 1.0.x release

Affected: 1.0.0 to 1.0.2. Latest scikit-learn: 1.9.1.

VersionKnown advisories
scikit-learn 1.0.2CVE-2024-5206
scikit-learn 1.0.1CVE-2024-5206
scikit-learn 1.0.0CVE-2024-5206, CVE-2020-28975

Which of your client projects are still on scikit-learn 1.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact scikit-learn version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other scikit-learn versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.