ADVISORIES

Vulnerability

CVE-2021-39207

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.

4 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 4

Advisories in PyPI

  • GHSA-m87f-9fvv-2mgg

    Deserialization of Untrusted Data in parlai

    Moderate CVE-2021-24040CVE-2021-39207 PyPI Updated 8 July 2026
  • GHSA-mwgj-7x7j-6966

    Deserialization of Untrusted Data in ParlAI

    Moderate CVE-2021-24040CVE-2021-39207 PyPI Updated 4 December 2024
  • PYSEC-2021-330

    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…

    CVE-2021-24040CVE-2021-39207 PyPI Updated 9 July 2026
  • PYSEC-2021-334

    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…

    CVE-2021-24040CVE-2021-39207 PyPI Updated 8 November 2023

References