cve.bz

CVE-2026-27205 palletsprojects flask

2.3 lowEPSS 0.4%Fix available

Low (2.3) in palletsprojects flask. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in flask 3.1.3.

On this page
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.

Severity

CVSS 4.0

2.3 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-524 Use of Cache Containing Sensitive Information
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27205 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27205?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27205?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27205 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
palletsprojects:flaskbefore 3.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-68rp-wp8r-4726PyPIflask<3.1.33.1.3
PYSEC-2026-2151PyPIflask<3.1.33.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12flaskno fix listedDEBIAN-CVE-2026-27205
Debian13flask3.1.1-1+deb13u1DEBIAN-CVE-2026-27205
Debian14flask3.1.3-1DEBIAN-CVE-2026-27205
Ubuntu16.04:LTS, 18.04:LTS, 25.10flaskno fix listedUBUNTU-CVE-2026-27205
Ubuntu22.04:LTSflask2.0.1-2ubuntu1.2UBUNTU-CVE-2026-27205 USN-8104-1
Ubuntu24.04:LTSflask3.0.2-1ubuntu1.1UBUNTU-CVE-2026-27205 USN-8104-1
UbuntuPro:20.04:LTSflask1.1.1-2ubuntu0.1+esm1UBUNTU-CVE-2026-27205 USN-8104-1
SUSELinux Enterprise Module for Python 3 15 SP7python-Flask2.3.2-150400.3.9.1SUSE-SU-2026:0849-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-Flask3.1.1-160000.3.1SUSE-SU-2026:22023-1
openSUSELeap 15.6python-Flask2.3.2-150400.3.9.1SUSE-SU-2026:0849-1
openSUSETumbleweedpython-Flask3.1.3-1.1openSUSE-SU-2026:10264-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel8Out of support scope
Red Hat OpenShift AI (RHOAI)rhoai/odh-notebook-controller-rhel8Out of support scope
Red Hat Quay 3quay/quay-rhel8Out of support scope
Red Hat Quay 3quay/quay-rhel9Fix deferred
Red Hat Satellite 6satellite/iop-advisor-engine-rhel9Fix deferred
Red Hat Satellite 6satellite/iop-host-inventory-rhel9Fix deferred
Red Hat Satellite 6satellite/iop-insights-engine-rhel9Fix deferred
Red Hat Satellite 6satellite/iop-vulnerability-engine-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27205.

Attack patterns (CAPEC)

  • CAPEC-204 Lifting Sensitive Data Embedded in Cache Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON