Description
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 of sensitive information, as the `stop_words_` attribute could contain tokens that were meant to be discarded and not stored, such as passwords or keys. The impact of this vulnerability varies based on the nature of the data being processed by the vectorizer.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| scikit-learn | scikit-learn/scikit-learn | unspecified – < 1.5.0 | 1.5.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | scikit-learn | No fix yet | — |
| Debian 13 | scikit-learn | No fix yet | — |
| Debian 12 | scikit-learn | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | scikit-learn | No fix yet | — |
| Ubuntu 25.10 | scikit-learn | No fix yet | — |
| Ubuntu 24.04 LTS | scikit-learn | No fix yet | — |
| Ubuntu 22.04 LTS | scikit-learn | No fix yet | — |
| Ubuntu 20.04 LTS | scikit-learn | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | scikit-learn | No fix yet | — |
| Ubuntu 16.04 LTS | scikit-learn | No fix yet | — |
| Ubuntu 14.04 LTS | scikit-learn | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python-scikit-learn | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SLES 15 SP5 | python-scikit-learn | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-scikit-learn | 1.5.0-1.1 | openSUSE-SU-2026:11498-1, openSUSE-SU-2024:14043-1 |
| openSUSE Leap 15.6 | python-scikit-learn | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| openSUSE Leap 15.5 | python-scikit-learn | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kubeflow-katib | 0.16.0-r12 | — |
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.3.0-r1 | — |
| Wolfi rolling | py3-scikit-learn | 1.5.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | scikit-learn | < 1.5.0 | 1.5.0 | GHSA-jw8x-6495-233v |
Advisories 7
- openSUSE-SU-2026:11498-1 python313-scikit-learn-1.9.0-1.1 on GA media SUSE / openSUSE Security Updates · Aug 12, 2026
- SUSE-SU-2024:2029-1 Security update for python-scikit-learn SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14043-1 python310-scikit-learn-1.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0225 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2025
- NCSC-2025-0127 Kwetsbaarheden verholpen in Oracle Financial Services NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0819 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- WID-SEC-2024-1802 IBM Business Automation Workflow: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 8, 2024