# CVE-2011-4356: Celery local privilege escalation vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v2.0, NVD) `AV:L/AC:M/Au:N/C:C/I:C/A:C`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Medium; Authentication: None; Confidentiality impact: Complete; Integrity impact: Complete; Availability impact: Complete
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-264
- **Aliases:** GHSA-rpc6-h455-3rx5, PYSEC-2011-17
- **Published:** 2011-12-05T11:00:00.000Z
- **Modified:** 2026-06-16T23:34:50.183Z

## Who should check

- Projects that depend on PyPI package celery (\>= 2.1.0, \< 2.2.8)
- Anyone running n/a (versions: see the vendor advisory)

## Description

Celery 2.1 and 2.2 before 2.2.8, 2.3 before 2.3.4, and 2.4 before 2.4.4 changes the effective id but not the real id during processing of the --uid and --gid arguments to celerybeat, celeryd\_detach, celeryd-multi, and celeryev, which allows local users to gain privileges via vectors involving crafted code that is executed by the worker process.

## Affected and fixed versions

- PyPI `celery`: affected \>= 2.1.0, \< 2.2.8; fixed 2.2.8, 2.3.4, 2.4.4 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade celery to one of 2.2.8, 2.3.4, 2.4.4 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2011-4356. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2011-4356.md
Affected: celery >= 2.1.0, < 2.2.8
Fixed in: 2.2.8, 2.3.4, 2.4.4

Steps:
1. Search this machine and project for celery (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2011-4356 being exploited?

There is no confirmed exploitation: CVE-2011-4356 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2011-4356?

Medium: CVSS 6.9 (v2.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2011-4356?

celery \>= 2.1.0, \< 2.2.8.

### Is there a fix for CVE-2011-4356?

Yes. Fixed in 2.2.8, 2.3.4, 2.4.4. Upgrade celery to one of 2.2.8, 2.3.4, 2.4.4 (or later in the same release line).

### How do I check if I'm affected by CVE-2011-4356?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://secunia.com/advisories/46973>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2011-4356>
- vendor: <https://github.com/advisories/GHSA-rpc6-h455-3rx5>
- patch: <https://github.com/ask/celery/blob/master/docs/sec/CELERYSA-0001.txt>
- patch: <https://github.com/ask/celery/pull/544>
- patch: <https://github.com/celery/celery/pull/544>
- patch: <https://github.com/celery/celery/commit/53514b158b743678d8993638be5920cd09ccc35c>
- patch: <https://github.com/celery/celery/commit/73388921731a0e6feb28ab0d389c4f7dc4d524f6>
- patch: <https://github.com/celery/celery/commit/e0767e40994754fe8482bf4ff622c5c6d0b9f671>
- other: <http://www.securityfocus.com/bid/50825>
- other: <https://github.com/celery/celery>
- other: <https://github.com/celery/celery/blob/master/docs/sec/CELERYSA-0001.txt>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/celery/PYSEC-2011-17.yaml>
- other: <https://web.archive.org/web/20140722114447/http://secunia.com/advisories/46973>
- other: <https://web.archive.org/web/20200305001706/http://www.securityfocus.com/bid/50825>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2011-4356>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rpc6-h455-3rx5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2011-17> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2011-4356> · JSON: <https://flawdb.com/api/v1/entries/CVE-2011-4356>
