Live threats

All CVEs / Facebook

CVE-2021-39207Facebook Parlai

High 8.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Parlai.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
facebookparlai< 1.1.0

Official sources

References

Links published by the sources. Open them with care.