Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Flask versions from 2.2.5 (exclusive) up to 2.3.0 (exclusive), and from 2.3.0 up to 2.3.2 (exclusive), are affected. If a caching proxy sits in front of an application that sets session.permanent to True, never accesses the session during a request, keeps the default session refresh, and sets no private Cache-Control header, a response carrying one client's session cookie can be cached and sent to other clients. Upgrade to Flask 2.2.5 or 2.3.2. The source gives no workaround beyond upgrading.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.013, the 69th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:36 UTC First seen by agentprime
- 31 Oct 2026, 14:36 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m2qf-hxjv-5gpq
- OSV: GHSA-m2qf-hxjv-5gpq
- github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq
- nvd.nist.gov/vuln/detail/CVE-2023-30861
- github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b
- github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965
- github.com/pallets/flask
- github.com/pallets/flask/releases/tag/2.2.5
- github.com/pallets/flask/releases/tag/2.3.2
- github.com/pypa/advisory-database/tree/main/vulns/flask/PYSEC-2023-62.yaml
- lists.debian.org/debian-lts-announce/2023/08/msg00024.html
- security.netapp.com/advisory/ntap-20230818-0006
- www.debian.org/security/2023/dsa-5442