In versions 3.1.2 and below, when the session object is accessed, Flask should set the Vary: Cookie header., resulting
Affects flaskSource GCVE Database
Not known to be exploited · CVSS 2.3 Low · fixed in 1.1.1-2ubuntu0.1+esm1 : update flask when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.1.1-2ubuntu0.1+esm1, 2.0.1-2ubuntu1.2, 3.0.2-1ubuntu1.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu flask to 1.1.1-2ubuntu0.1+esm1 (package) or 2.0.1-2ubuntu1.2 (package) or 3.0.2-1ubuntu1.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10flaskpkg:deb/ubuntu/flask?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSflaskpkg:deb/ubuntu/flask?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSflaskpkg:deb/ubuntu/flask?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSflaskpkg:deb/ubuntu/flask?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu 18.04 LTSflaskpkg:deb/ubuntu/flask?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSflaskpkg:deb/ubuntu/flask?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-27205 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-27205 (opens in a new tab)
- github.com/pallets/flask/security/advisories/GHSA-68rp-wp8r-4726 (opens in a new tab)
- github.com/pallets/flask/releases/tag/3.1.3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8104-1 (opens in a new tab)