CVE-2026-27205
palletsprojects flask
Patch priority
RegularFix with the next regular update.
- CVSS
- 4.3
- Severity
- 4.3
- EPSS
- 0.4 %
- Percentile
- 37
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run palletsprojects flask. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDFlask is a web server gateway interface (WSGI) web application framework. In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting in a Use of Cache Containing Sensitive Information vulnerability. The logic instructs caches not to cache the response, as it may contain information specific to a logged in user. This is handled in most cases, but some forms of access such as the Python in operator were overlooked. The severity and risk depend on the application being hosted behind a caching proxy that doesn't ignore responses with cookies, not setting a Cache-Control header to mark pages as private or non-cacheable, and accessing the session in a way that only touches keys without reading values or mutating the session. The issue has been fixed in version 3.1.3.
- Vendor / product
- palletsprojects flask
- Published
- 21.02.2026
- Modified
- 17.06.2026
- CWE
- CWE-524
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Vendor updates
4- Microsoft: Mariner 20.11.2026 · Medium · Patch day
- SUSE: SUSE-SU-2026:22023-1 – Security update for python-Flask 08.06.2026 · MEDIUM · Patch day
- Ubuntu: USN-8104-1 – Flask vulnerability 18.03.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:0849-1 – Security update for python-Flask 09.03.2026 · MEDIUM · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.