Read the docs
TI-2021-06184 Aliases CVE-2021-23727GHSA-q4xr-rc97-m4xx

Stored command injection in celery

Priority LOW 39CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

EPSS 0.03598 89th percentileScored 2026-11-07
Fix Fixed celery: 5.2.2celery (PyPI): 5.2.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—celerybefore 5.2.25.2.2Patch availableCNA
—celery (PyPI)before 5.2.25.2.2Patch availableGHSA-q4xr-rc97-m4xx
  • celery Vendor— Affected before 5.2.2 Fixed in 5.2.2 Patch available CNA
  • celery (PyPI) Vendor— Affected before 5.2.2 Fixed in 5.2.2 Patch available GHSA-q4xr-rc97-m4xx

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:celeryproject:celery:*:*:*:*:*:python:*:*before 5.2.2VulnerableCeleryproject
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*7.0VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
  • cpe:2.3:a:celeryproject:celery:*:*:*:*:*:python:*:* Versions before 5.2.2 Vulnerable ·Celeryproject
  • cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA celery Fixed in 5.2.2
  • Fix · GHSA-q4xr-rc97-m4xx celery (PyPI) Fixed in 5.2.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Tower 3
  • Red Hat Satellite 6
  • Red Hat Update Infrastructure 3 for Cloud Providers

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23727
  2. 2026-10-03 Alias added: GHSA-q4xr-rc97-m4xx
  3. 2026-10-14 EPSS moved to the 90th–95th percentile
  4. 2026-10-25 EPSS moved to the 50th–90th percentile

References

Sources