ADVISORIES

Vulnerability

CVE-2021-23727

This affects the package celery before 5.2.2. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an attacker can gain access to, or somehow manipulate the metadata within a celery backend, they could trigger a stored command injection vulnerability and potentially gain further access to the system.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2021-23727

    This affects the package celery before 5.2.2. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an…

    CVE-2021-23727 Debian Updated 23 October 2026
  • GHSA-q4xr-rc97-m4xx

    OS Command Injection in celery

    High CVE-2021-23727 PyPI Updated 6 September 2024
  • PYSEC-2021-858

    This affects the package celery before 5.2.2. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an…

    CVE-2021-23727 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2021-23727

    This affects the package celery before 5.2.2. It by default trusts the messages and metadata stored in backends (result stores). When reading task metadata from the backend, the data is deserialized. Given that an…

    CVE-2021-23727 Ubuntu Updated 24 November 2026

References