CVE-2021-39207Facebook Parlai
High 8.8
Follow: this CVE · Facebook · Facebook Parlai We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- Yes
- Published
- Sep 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets. In affected versions the package is vulnerable to YAML deserialization attack caused by unsafe loading which leads to Arbitary code execution. This security bug is patched by avoiding unsafe loader users should update to version above v1.1.0. If upgrading is not possible then users can change the Loader used to SafeLoader as a workaround. See commit 507d066ef432ea27d3e201da08009872a2f37725 for details.
What to do
- Apply the vendor's security update for Parlai.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | parlai |
< 1.1.0 |
1.1.0 |
pip install "parlai>=1.1.0" |
| PyPI | parlai |
< 1.1.0 |
1.1.0 |
pip install "parlai>=1.1.0" |
| PyPI | parlai |
< 1.1.0 |
1.1.0 |
pip install "parlai>=1.1.0" |
| PyPI | parlai |
< 1.1.0 |
1.1.0 |
pip install "parlai>=1.1.0" |
Per OSV / GitHub Advisories (GHSA-m87f-9fvv-2mgg, GHSA-mwgj-7x7j-6966, PYSEC-2021-330, PYSEC-2021-334). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| parlai | < 1.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory