# CVE-2021-23727: celery: This affects the package celery before 5.2.2

CVE-2021-23727 is fixed in celery on 1 platform, first by DEBIAN-CVE-2021-23727, released December 29, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-23727
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0360
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 29, 2021

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | celery Debian 12.15 (bookworm) | 5.2.3-1 | [DEBIAN-CVE-2021-23727](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23727.md) | Dec 29, 2021 |
| Linux | celery Debian 13.5 (trixie) | 5.2.3-1 | [DEBIAN-CVE-2021-23727](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23727.md) | Dec 29, 2021 |
| Linux | celery Debian 14 | 5.2.3-1 | [DEBIAN-CVE-2021-23727](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23727.md) | Dec 29, 2021 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
