Is celery 5.2 vulnerable?

PyPI · 8 releases from 5.2.0 to 5.2.7 · latest celery is 5.7.0 · checked 18 Nov 2026

No known advisories in the last release

celery 5.2.7, the last 5.2 release, has no known advisories. 1 advisory affects earlier 5.2.x releases, so update to 5.2.7.

Update within 5.2:pip install 'celery>=5.2.7'

Is your project on an affected celery?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 5.2.x, affecting earlier releases

  • HighCVE-2021-23727GHSA-q4xr-rc97-m4xx6 Jan 2022

    OS Command Injection in celery

    Affected
    <5.2.2
    Fixed in
    5.2.2

Every celery 5.2.x release

Affected: 5.2.0 to 5.2.1. 5.2.2 and later are not affected. Latest celery: 5.7.0.

VersionKnown advisories
celery 5.2.7None
celery 5.2.6None
celery 5.2.5None
celery 5.2.4None
celery 5.2.3None
celery 5.2.2None
celery 5.2.1CVE-2021-23727
celery 5.2.0CVE-2021-23727

Which of your client projects are still on celery 5.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact celery version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other celery versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.