CVE-2023-30861: Flask is a lightweight WSGI web application framework
CVE-2023-30861 is a high-severity flaw (CVSS 7.5) affecting flask. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client's `session` cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-539 |
| Published | 2023-05-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-30861?
flask: upgrade to 2.2.5, 2.3.2. Exact commands for each OS are on this page.
Is CVE-2023-30861 being exploited?
CVE-2023-30861 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-30861 affect?
CVE-2023-30861 affects flask. Severity is high (CVSS 7.5). Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also cac
How urgent is CVE-2023-30861?
Priority 49/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-27205 MEDIUM 4.3 UPGRADE Flask is a web server gateway interface (WSGI) web application framework
- CVE-2019-1010083 HIGH 7.5 UPGRADE The Pallets Project Flask before 1.0 is affected by: unexpected memory usage
- CVE-2018-1000656 HIGH 7.5 UPGRADE MITIGATE The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in