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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 12 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints
First Time appeared Flower Project
Flower Project flower
Weaknesses CWE-352
CPEs cpe:2.3:a:flower_project:flower:*:*:*:*:*:*:*:*
Vendors & Products Flower Project
Flower Project flower
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-12T20:55:06.611Z

Reserved: 2026-10-12T19:27:45.482Z

Link: CVE-2022-51020

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-12T21:17:06.227

Modified: 2026-10-12T21:17:06.227

Link: CVE-2022-51020

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses