{"id":"CVE-2022-51020","published":"2026-10-12T20:55:06Z","modified":"2026-10-15T13:49:48Z","title":"Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints","vendor":"mher","product":"flower","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00196,"percentile":0.05352,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/mher/flower/issues/1217","tags":["issue-tracking"]},{"url":"https://github.com/mher/flower/commit/a14408b16cc3d2877d36659005ce0d72b6162629","tags":["patch"]},{"url":"https://github.com/mher/flower/commit/3b2115af7f9c42bd2da2fbcbd919f77013e9ec51","tags":["patch"]},{"url":"https://github.com/mher/flower/blob/v2.1.0/flower/api/control.py#L25-L27","tags":["technical-description"]},{"url":"https://github.com/mher/flower","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/flower-before-2.2.0-csrf-via-worker-and-task-control-api-endpoints","tags":["third-party-advisory"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"mher","affectedVersions":[{"vendor":"mher","product":"flower","versions":["< 2.2.0"]}],"fixedVersions":[{"vendor":"mher","product":"flower","versions":["2.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-15T13:49:35.993557Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-56064","exploited":false,"provenance":"source"}}