CVE-2021-23727: Celeryproject Celery
High severity, CVSS 7.5. EPSS: 3.6% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Celeryproject Celery, before 5.2.2: fixed in 5.2.2
Affected products
- Celeryproject Celery: before 5.2.2 (fixed in 5.2.2)
- Fedoraproject Extra Packages For Enterprise Linux: version 7.0 only
- Fedoraproject Fedora: version 35 only
Affected packages
- celery (PyPI)
Published 2021-12-29. Last modified 2026-06-17.