CVE-2021-24040Facebook Parlai
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Facebook · Facebook Parlai We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.1
- 9.8
- EPSS
- 17.4% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- 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:N/UI:N/S:U/C:H/I:H/A:H
What happens
Due to use of unsafe YAML deserialization logic, an attacker with the ability to modify local YAML configuration files could provide malicious input, resulting in remote code execution or similar risks. This issue affects ParlAI prior to v1.1.0.
What to do
- Apply the vendor's security update for Parlai.
- 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 | 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.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory