Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-5206: A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versi

19
Routine
MEDIUM 4.7UPGRADE

CVE-2024-5206 is a medium-severity flaw (CVSS 4.7) affecting scikit-learn. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up to and including 1.4.1.post1, which was fixed in version 1.5.0. The vulnerability arises from the unexpected storage of all tokens present in the training data within the `stop_words_` attribute, rather than only storing the subset of tokens required for the TF-IDF technique to function. This behavior leads to the potential leakage

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score4.7 (Medium)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.2% (top 92%)
CISA exploited listNo
WeaknessCWE-921, CWE-922
Published2024-06-06
Last modified2026-06-17
Publisher (CNA): huntr.dev · Vendor: scikit-learn

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

scikit-learn scikit-learn UPGRADE
Affected: < 1.5.0
Fixed in: 1.5.0
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show scikit-learn
2. UPGRADE to 1.5.0
pip install --upgrade "scikit-learn>=1.5.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-5206?

scikit-learn: upgrade to 1.5.0. Exact commands for each OS are on this page.

Is CVE-2024-5206 being exploited?

CVE-2024-5206 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-5206 affect?

CVE-2024-5206 affects scikit-learn. Severity is medium (CVSS 4.7). A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up to and including 1.4.1.post1, which was fixed in version 1.5.0. The vulnerability arises from the unexpected storage of all

How urgent is CVE-2024-5206?

Priority 19/100. No elevated risk signals yet.

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.