A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up
Affects scikit-learnSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium · fixed in 1.5.0 : update scikit-learn when convenient.
Data as of 9 Nov 2026, 14:36 UTC
- Patch
- Available – fixed in 1.5.0
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10scikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 25.10scikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSscikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSscikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSscikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSscikit-learnpkg:deb/ubuntu/scikit-learn?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade scikit-learn to version 1.5.0 or later, where this vulnerability has been fixed. No other mitigation actions are indicated.
Description
A sensitive data leakage vulnerability exists in scikit-learn's TfidfVectorizer up to and including version 1.4.1.post1. The issue is due to the `stop_words_` attribute storing all tokens from the training data rather than only the necessary subset, potentially exposing sensitive tokens such as passwords or keys. This vulnerability was fixed in version 1.5.0. The impact depends on the nature of the data processed by the vectorizer.