CVE-2022-21797Joblib Project Joblib
Critical 9.8 No auth needed
Follow: this CVE · Joblib Project · Joblib Project Joblib We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Sep 26, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement.
What to do
- Apply the vendor's security update for Joblib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | joblib |
< 1.2.0 |
1.2.0 |
pip install "joblib>=1.2.0" |
| PyPI | joblib |
< 1.2.0 |
1.2.0 |
pip install "joblib>=1.2.0" |
Per OSV / GitHub Advisories (GHSA-6hrg-qmvc-2xh8, PYSEC-2022-288). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| joblib_project | joblib | < 1.1.1 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.snyk.io Exploit Issue Tracking Patch