High severity7.5NVD Advisory· Published Dec 29, 2021· Updated Jun 17, 2026
CVE-2021-23727
CVE-2021-23727
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
celeryPyPI | < 5.2.2 | 5.2.2 |
Affected products
5- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- celery/celerydescription
Patches
Vulnerability mechanics
References
8- snyk.io/vuln/SNYK-PYTHON-CELERY-2314953nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-q4xr-rc97-m4xxghsaADVISORY
- github.com/celery/celery/blob/master/Changelog.rst%23522nvdBroken LinkRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-23727ghsaADVISORY
- github.com/celery/celery/commit/1f7ad7e6df1e02039b6ab9eec617d283598cad6bghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/celery/PYSEC-2021-858.yamlghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/nvd
News mentions
0No linked articles in our index yet.