Flower CSRF via Worker and Task Control API Endpoints
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.
Summary
Flower before 2.2.0 contains a cross-site request forgery flaw (CWE-352) because Tornado xsrf_cookies is disabled and the OAuth session cookie lacks SameSite. An attacker can lure an authenticated user to a malicious page that sends POST requests to the worker shutdown, pool restart and task revoke endpoints, shutting down Celery workers, resizing pools and revoking tasks.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade mher flower to version 2.2.0 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA flower (mher) Fixed in 2.2.0
Timeline
- 2026-10-12 Threatist record created from CVE-2022-51020
- 2026-10-13 Alias added: GHSA-xg8m-6cg7-cmf8
- 2026-10-13 Priority changed: MEDIUM → LOW
- 2026-10-16 CISA SSVC decision points changed
References
Sources
- CVE-2022-51020 · CVE Program
- CVE-2022-51020 · NVD
- FIRST EPSS
- GHSA-xg8m-6cg7-cmf8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences