CVE-2022-51020

published 12 Oct 2026 · updated 10 Nov 2026

Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.2.0.

Flower before 2.2.0 contains a cross-site request forgery vulnerability because Tornado xsrf_cookies is disabled and the OAuth session cookie lacks SameSite. Attackers can lure authenticated users to malicious pages that POST to /api/worker/shutdown, /api/worker/pool/restart, or /api/task/revoke to shut down Celery workers, resize pools, and revoke tasks.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mher<2.2.02.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-51020 severity on Zeptric[![CVE-2022-51020](https://zeptric.io/badge/cve/CVE-2022-51020.svg)](https://zeptric.io/cve/CVE-2022-51020)