CSRF in Mher Flower
CVE-2022-51020
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/mher/flower/issues/1217 (issue-tracking)
- github.com/mher/flower/commit/a14408b16cc3d2877d36659005ce0d72b6162629 (patch)
- github.com/mher/flower/commit/3b2115af7f9c42bd2da2fbcbd919f77013e9ec51 (patch)
- github.com/mher/flower/blob/v2.1.0/flower/api/control.py (technical-description)
- github.com/mher/flower (product)
- www.vulncheck.com/advisories/flower-before-2.2.0-csrf-via-worker-and-task-contr… (third-party-advisory)
Frequently asked questions
- What is CVE-2022-51020?
- CVE-2022-51020 is a medium-severity vulnerability in Mher Flower, classified under Cross-Site Request Forgery (CSRF). CVSS score: 5.9/10. Published 2026-10-12.
- How severe is CVE-2022-51020?
- Medium severity. CVSS v3 base score is 5.9 out of 10.