CVE-2020-13092
CRITICAL 9.8CVSS 3.1scikit-learn Deserialization of Untrusted Data
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
- Published
- 15 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-jjw5-xxj6-pcv5PYSEC-2020-107
- Sources
- NVDJSONOSV GHSA-jjw5-xxj6-pcv5JSONOSV PYSEC-2020-107JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | scikit-learn | scikit-learncpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:* |
<= 0.23.0 | |
| OSV | PyPI | scikit-learn | <= 0.23.0 | |
| OSV | PyPI | scikit-learn | < 0.23.1 | 0.23.1 |
References
- https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md · Exploit, Third Party Advisory, WEB
- https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-13092 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml · WEB
- https://github.com/scikit-learn/scikit-learn · PACKAGE
- https://github.com/advisories/GHSA-jjw5-xxj6-pcv5 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 15 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 May 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)