CVE-2020-13092Scikit-learn
Critical 9.8 No auth needed
Follow: this CVE · Scikit-learn · Scikit-learn We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- May 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file that is passed to the joblib.load() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the joblib.load() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner
What to do
- Apply the vendor's security update for Scikit-learn.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | scikit-learn |
≤ 0.23.0 |
no fixed version | — |
| PyPI | scikit-learn |
< 0.23.1 |
0.23.1 |
pip install "scikit-learn>=0.23.1" |
Per OSV / GitHub Advisories (GHSA-jjw5-xxj6-pcv5, PYSEC-2020-107). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| scikit-learn | scikit-learn | ≤ 0.23.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- scikit-learn.org Third Party Advisory