CVE-2026-33212: Celery Task Pending State Missing Authorization

Authorization is bypassed when a Celery AsyncResult task is in PENDING state or its result is an Exception. Setting the associated resource object to None in this branch causes all downstream permission checks to be skipped entirely (they exist only in the else branch), allowing any authenticated user to retrieve task data for restricted resources they canno

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-33212-celery-task-pending-state-missing-authorization --engine opengrep

Description

Authorization is bypassed when a Celery AsyncResult task is in PENDING state or its result is an Exception. Setting the associated resource object to None in this branch causes all downstream permission checks to be skipped entirely (they exist only in the else branch), allowing any authenticated user to retrieve task data for restricted resources they canno