Is scikit-learn 1.2 vulnerable?
PyPI · 3 releases from 1.2.0 to 1.2.2 · latest scikit-learn is 1.9.1 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. scikit-learn 1.2.2, the last 1.2 release, is affected by 1 known security advisory (1 medium), including CVE-2024-5206. Upgrade to 1.5.0 or later to fix all of them.
pip install 'scikit-learn>=1.5.0'Is your project on an affected scikit-learn?
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.2.2
scikit-learn sensitive data leakage vulnerability
- Affected
- <1.5.0
- Fixed in
- 1.5.0
Every scikit-learn 1.2.x release
Affected: 1.2.0 to 1.2.2. Latest scikit-learn: 1.9.1.
| Version | Known advisories |
|---|---|
| scikit-learn 1.2.2 | CVE-2024-5206 |
| scikit-learn 1.2.1 | CVE-2024-5206 |
| scikit-learn 1.2.0 | CVE-2024-5206 |
Which of your client projects are still on scikit-learn 1.2?
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.