{"id":"CVE-2022-51020","aliases":["CVE-2022-51020"],"related":[],"kind":"vulnerability","state":"published","title":"Flower before 2.2.0 CSRF via Worker and Task Control API Endpoints","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Flower versiones anteriores a 2.2.0 contiene una vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) porque xsrf_cookies de Tornado está deshabilitado y la cookie de sesión OAuth no tiene SameSite. Los atacantes pueden engañar a usuarios autenticados a páginas maliciosas que realicen un POST a /api/worker/shutdown, /api/worker/pool/restart o /api/task/revoke para detener los workers de Celery, redimensionar los pools y revocar tareas.","source":"nvd"}],"published":"2026-10-12T20:55:06.611Z","modified":"2026-11-10T12:10:00.177Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.2.0","status":"affected"},{"type":"semver","version":"2.2.0","status":"unaffected"}],"vendor":"mher","product":"flower","repo":"https://github.com/mher/flower","source":"cvelist"}],"references":[{"url":"https://github.com/mher/flower/issues/1217","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mher/flower/commit/a14408b16cc3d2877d36659005ce0d72b6162629","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mher/flower/commit/3b2115af7f9c42bd2da2fbcbd919f77013e9ec51","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mher/flower/blob/v2.1.0/flower/api/control.py#L25-L27","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mher/flower","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/flower-before-2.2.0-csrf-via-worker-and-task-control-api-endpoints","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Fawwaz Musaffa","tprynn"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-15T13:49:35.993Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-51020","url":"https://www.cve.org/CVERecord?id=CVE-2022-51020","licence":"CVE Terms of Use","modified":"2026-10-15T13:49:48.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-51020","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51020","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.457Z","epss":{"score":0.00144,"percentile":0.03928,"date":"2026-12-01T12:00:22.000Z"}}