# CVE-2020-13092: scikit-learn Deserialization of Untrusted Data

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.47%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-05-15T18:41:33.000Z
- Modified: 2026-06-17T02:52:37.550Z
- Also known as: GHSA-jjw5-xxj6-pcv5, PYSEC-2020-107
- Weaknesses: CWE-502
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- scikit-learn (PyPI): up to 0.23.0; before 0.23.1
- scikit-learn scikit-learn: up to 0.23.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## 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)

## Sources

- CVE List: [CVE-2020-13092](https://www.cve.org/CVERecord?id=CVE-2020-13092), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jjw5-xxj6-pcv5](https://github.com/advisories/GHSA-jjw5-xxj6-pcv5), CC-BY-4.0, modified 2024-10-22
- NVD: [CVE-2020-13092](https://nvd.nist.gov/vuln/detail/CVE-2020-13092), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-107](https://osv.dev/vulnerability/PYSEC-2020-107), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2020-13092 · Whole record: https://cve.day/CVE-2020-13092.json · Rebuilt by cve.day 2026-11-25T22:57:52.442Z
