SecurityContext

CVE-2020-13092: scikit-learn - Insecure Deserialization

  • Cve: CVE-2020-13092
  • Name: scikit-learn - Insecure Deserialization
  • 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
  • Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of scikit-learn where this issue is fixed or avoid loading untrusted files with joblib.load().
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03472
  • Epss percentile: 0.89379
  • Assignee: [email protected]
  • Published at: 2020-05-15T19:15:12Z
  • Age in days: 2384
  • Modified at: 2026-06-17T02:52:37Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-13092
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Public exploits

UrlSourceAdded date
https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.mdnvd2020-05-15

References

UrlSourceTags
https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.mdnvdExploit, Third Party Advisory
https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitationsnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
scikit-learn:scikit-learn<= 0.23.0nonvd/v1/products/scikit-learn/scikit-learn

Projects

RepositoryLink kindsIndexedUrl
scikit-learn/scikit-learnpackageyes/v1/repositories/scikit-learn/scikit-learn

Index

  • Repositories: 1214
  • Repositories high signal: 681
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-05-15
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts