CVE-2020-13092 json
scikit-learn Deserialization of Untrusted Data
published 2020-05-15 6 y ago modified 2026-06-17 4 mo ago also GHSA-jjw5-xxj6-pcv5 , PYSEC-2020-107 , EUVD-2020-0179
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- pypi scikit-learn 0.23.1
Exploit prediction
3.47% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | scikit-learn | <=0.23.0 <0.23.1 |
0.23.1 |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md
web, exploit, third-party-advisory
-
scikit-learn.org
/stable/modules/model_persistence.html#security-maintainability-limitations
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-13092
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml
web
-
github.com
/scikit-learn/scikit-learn
package
-
github.com
/advisories/GHSA-jjw5-xxj6-pcv5
advisory
Sources
- CVE List CVE-2020-13092
- GitHub Advisory GHSA-jjw5-xxj6-pcv5
- NVD CVE-2020-13092
- OSV PYSEC-2020-107
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.