{"cve":"CVE-2021-23727","nvd":{"published":"2021-12-29T17:15:07.413","modified":"2026-06-17T03:38:52.137","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-77"],"references":["https://github.com/celery/celery/blob/master/Changelog.rst%23522","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/","https://snyk.io/vuln/SNYK-PYTHON-CELERY-2314953","https://github.com/celery/celery/blob/master/Changelog.rst%23522","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYXRGHWHD2WWMHBWCVD5ULVINPKNY3P5/"],"products":["celeryproject:celery","fedoraproject:extra_packages_for_enterprise_linux","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-23727","score":0.03598,"percentile":0.89456,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-q4xr-rc97-m4xx","url":"https://osv.dev/vulnerability/GHSA-q4xr-rc97-m4xx","summary":"OS Command Injection in celery","modified":"2024-09-06T16:46:57.644996Z","packages":[{"ecosystem":"PyPI","name":"celery","purl":"pkg:pypi/celery","ranges":["<5.2.2"],"fixed":["5.2.2"]}]},{"id":"PYSEC-2021-858","url":"https://osv.dev/vulnerability/PYSEC-2021-858","summary":"","modified":"2023-11-08T04:05:12.931743Z","packages":[{"ecosystem":"PyPI","name":"celery","purl":"pkg:pypi/celery","ranges":["<5.2.2"],"fixed":["5.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}