{"id":"CVE-2020-13092","aliases":["CVE-2020-13092","GHSA-jjw5-xxj6-pcv5","PYSEC-2020-107"],"related":[],"kind":"vulnerability","state":"published","title":"scikit-learn Deserialization of Untrusted Data","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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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`.\nNOTE: 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"** EN DISPUTA ** scikit-learn (también se conoce como sklearn) versiones hasta 0.23.0, puede deserializar y ejecutar comandos desde un archivo no confiable que es pasado hacia la función joblib.load(), si __reduce__ realiza una llamada os.system. NOTA: terceros disputan este problema porque la función joblib.load () está documentada como insegura y es responsabilidad del usuario usar la función de manera segura.","source":"nvd"},{"lang":"en","text":"** DISPUTED ** 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.","format":"markdown","source":"pysec"}],"published":"2020-05-15T18:41:33.000Z","modified":"2026-06-17T02:52:37.550Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.23.0"}],"ecosystem":"PyPI","package":"scikit-learn","purl":"pkg:pypi/scikit-learn","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.23.0"}],"vendor":"scikit-learn","product":"scikit-learn","cpe":"cpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.1"}],"ecosystem":"PyPI","package":"scikit-learn","purl":"pkg:pypi/scikit-learn","source":"pysec"}],"references":[{"url":"https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13092","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/scikit-learn/scikit-learn","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-jjw5-xxj6-pcv5","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-13092","url":"https://www.cve.org/CVERecord?id=CVE-2020-13092","licence":"CVE Terms of Use","modified":"2024-08-04T12:11:18.980Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jjw5-xxj6-pcv5","url":"https://github.com/advisories/GHSA-jjw5-xxj6-pcv5","licence":"CC-BY-4.0","modified":"2024-10-22T18:05:32.284Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-13092","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13092","licence":"Public domain","modified":"2026-06-17T02:52:37.550Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-107","url":"https://osv.dev/vulnerability/PYSEC-2020-107","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:41.393Z"}],"updatedAt":"2026-11-25T22:57:52.442Z","epss":{"score":0.03472,"percentile":0.89384,"date":"2026-12-01T12:00:22.000Z"}}