
CVE catalog
CVE-2026-27205
Flask 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 Us
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
Flask 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | flask | sid | 3.1.3-4 | fixed |
| Debian | flask | forky | 3.1.3-4 | fixed |
| Debian | flask | trixie | 3.1.1-1+deb13u1 | fixed |
| Debian | flask | bookworm | 2.2.2-3 | vulnerable |
| Pip | flask | Not reported | 3.1.3 | fixed |
| Cpe | flask | Not reported | Not reported | vulnerable |
| Cpe | flask | Not reported | 3.0.2-1ubuntu1.1 | fixed |
| Cpe | python-flask-doc | Not reported | 3.0.2-1ubuntu1.1 | fixed |
| Cpe | python3-flask | Not reported | 3.0.2-1ubuntu1.1 | fixed |
| PyPI | flask | Not reported | 3.1.3 | fixed |
| Suse | python-Flask | linux enterprise server 16.0 | 3.1.1-160000.3.1 | fixed |
| Suse | python-Flask | linux enterprise server for sap applications 16.0 | 3.1.1-160000.3.1 | fixed |
| Ubuntu | flask | pro | 1.0.2-3 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2ubuntu0.1 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2ubuntu0.1+esm1 | fixed |
| Ubuntu | flask | 22.04 | 1.1.2-2 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1.1 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1.2 | fixed |
| Ubuntu | flask | 24.04 | 2.2.5-1ubuntu1 | vulnerable |
| Ubuntu | flask | 24.04 | 3.0.2-1ubuntu1 | vulnerable |
| Ubuntu | flask | 24.04 | 3.0.2-1ubuntu1.1 | fixed |
| Opensuse | python-Flask | tumbleweed | 3.1.3-1.1 | fixed |
| Ubuntu | flask | 16.04 | 0.10.1-2build2 | vulnerable |
| Ubuntu | flask | 16.04 | 0.10.1-2ubuntu0.1 | vulnerable |
| Ubuntu | flask | 18.04 | 0.12.2-2 | vulnerable |
| Ubuntu | flask | 18.04 | 0.12.2-3 | vulnerable |
| Ubuntu | flask | 18.04 | 0.12.2-3ubuntu0.1 | vulnerable |
| Ubuntu | flask | pro | 1.0.2-3 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2ubuntu0.1 | vulnerable |
| Ubuntu | flask | pro | 1.1.1-2ubuntu0.1+esm1 | fixed |
| Ubuntu | flask | 22.04 | 1.1.2-2 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1.1 | vulnerable |
| Ubuntu | flask | 22.04 | 2.0.1-2ubuntu1.2 | fixed |
| Ubuntu | flask | 24.04 | 2.2.5-1ubuntu1 | vulnerable |
| Ubuntu | flask | 24.04 | 3.0.2-1ubuntu1 | vulnerable |
| Ubuntu | flask | 24.04 | 3.0.2-1ubuntu1.1 | fixed |
| Ubuntu | flask | 25.10 | 3.1.0-2ubuntu1 | vulnerable |
| Ubuntu | flask | 25.10 | 3.1.1-1ubuntu1 | vulnerable |
| Ubuntu | flask | 25.10 | 3.1.2-1ubuntu1 | vulnerable |
| Suse | python-Flask | linux enterprise module for python 3 15 sp7 | 2.3.2-150400.3.9.1 | fixed |
| Opensuse | python-Flask | leap 15.6 | 2.3.2-150400.3.9.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | flask | source | sid | 3.1.3-1 | not yet assigned | Not reported | [1128620] |
| Debian | flask | source | forky | 3.1.3-1 | not yet assigned | Not reported | [1128620] |
| Debian | flask | source | trixie | 3.1.1-1+deb13u1 | not yet assigned | Not reported | [1128620] |
| Debian | flask | source | bookworm | (unfixed) | not yet assigned | Not reported | [1128620] |
| Pip | flask | pip | Not reported | 3.1.3 | Not reported | Not reported | Not reported |
| Cpe | flask | cpe | Not reported | 3.0.2-1ubuntu1.1 | Not reported | Not reported | Not reported |
| Cpe | python-flask-doc | cpe | Not reported | 3.0.2-1ubuntu1.1 | Not reported | Not reported | Not reported |
| Cpe | python3-flask | cpe | Not reported | 3.0.2-1ubuntu1.1 | Not reported | Not reported | Not reported |
| PyPI | flask | PyPI | Not reported | 3.1.3 | Not reported | GHSA-68RP-WP8R-4726 | Not reported |
| Suse | python-Flask | rpm | linux enterprise server 16.0 | 3.1.1-160000.3.1 | Not reported | SUSE-SU-2026:22023-1 | Not reported |
| Suse | python-Flask | rpm | linux enterprise server for sap applications 16.0 | 3.1.1-160000.3.1 | Not reported | SUSE-SU-2026:22023-1 | Not reported |
| Ubuntu | flask | deb | pro | 1.1.1-2ubuntu0.1+esm1 | Not reported | USN-8104-1 | Not reported |
| Ubuntu | flask | deb | 22.04 | 2.0.1-2ubuntu1.2 | Not reported | USN-8104-1 | Not reported |
| Ubuntu | flask | deb | 24.04 | 3.0.2-1ubuntu1.1 | Not reported | USN-8104-1 | Not reported |
| Opensuse | python-Flask | rpm | tumbleweed | 3.1.3-1.1 | Not reported | OPENSUSE-SU-2026:10264-1 | Not reported |
| Ubuntu | flask | deb | pro | 1.1.1-2ubuntu0.1+esm1 | Not reported | UBUNTU-CVE-2026-27205 | Not reported |
| Ubuntu | flask | deb | 22.04 | 2.0.1-2ubuntu1.2 | Not reported | UBUNTU-CVE-2026-27205 | Not reported |
| Ubuntu | flask | deb | 24.04 | 3.0.2-1ubuntu1.1 | Not reported | UBUNTU-CVE-2026-27205 | Not reported |
| Suse | python-Flask | rpm | linux enterprise module for python 3 15 sp7 | 2.3.2-150400.3.9.1 | Not reported | SUSE-SU-2026:0849-1 | Not reported |
| Opensuse | python-Flask | rpm | leap 15.6 | 2.3.2-150400.3.9.1 | Not reported | SUSE-SU-2026:0849-1 | Not reported |
Notes
[bookworm] flask: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-flask]Affected
Source package: [flask]
Details (2)
2.2.2-3· all · bookwormAffected
nvd · flask · debian · bookworm; nvd · flask · debian · 12
2.2.2-3· all · bookwormAffected
nvd · flask · debian · bookworm; nvd · flask · debian · 12
- [python-flask-doc]Affected
Source package: [flask]
Details (2)
2.2.2-3· all · bookwormAffected
nvd · flask · debian · bookworm; nvd · flask · debian · 12
2.2.2-3· all · bookwormAffected
nvd · flask · debian · bookworm; nvd · flask · debian · 12
[Debian 13 (Trixie)]
- [python3-flask]Affected
Source package: [flask]
Details (2)
3.1.1-1· all · trixieAffected · Fixed:
3.1.1-1+deb13u1nvd · flask · debian · 13
3.1.1-1· all · trixieAffected · Fixed:
3.1.1-1+deb13u1nvd · flask · debian · 13
- [python-flask-doc]Affected
Source package: [flask]
Details (2)
3.1.1-1· all · trixieAffected · Fixed:
3.1.1-1+deb13u1nvd · flask · debian · 13
3.1.1-1· all · trixieAffected · Fixed:
3.1.1-1+deb13u1nvd · flask · debian · 13
[openSUSE Tumbleweed]
- [python313-Flask]Unknown
Source package: [python-Flask]
Details (1)
3.1.3-2.2· noarch · tumbleweedUnknown · Fixed:
3.1.3-1.1Version impact unknown
nvd · python-Flask · opensuse · tumbleweed
- [python313-Flask-doc]Unknown
Source package: [python-Flask]
Details (1)
3.1.3-2.2· noarch · tumbleweedUnknown · Fixed:
3.1.3-1.1Version impact unknown
nvd · python-Flask · opensuse · tumbleweed
- [python314-Flask]Unknown
Source package: [python-Flask]
Details (1)
3.1.3-2.2· noarch · tumbleweedUnknown · Fixed:
3.1.3-1.1Version impact unknown
nvd · python-Flask · opensuse · tumbleweed
- [python314-Flask-doc]Unknown
Source package: [python-Flask]
Details (1)
3.1.3-2.2· noarch · tumbleweedUnknown · Fixed:
3.1.3-1.1Version impact unknown
nvd · python-Flask · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10264-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-27205]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-27205]
- [https://osv.dev/vulnerability/GHSA-68rp-wp8r-4726]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0849-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22023-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-27205]
- [https://osv.dev/vulnerability/USN-8104-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10264-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-27205]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27205.json]
- [https://ubuntu.com/security/notices/USN-8104-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2451.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]