Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-27205
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-21 Feb, 2026 | 05:21
Updated At-24 Feb, 2026 | 19:03
Rejected At-
▼CVE Numbering Authority (CNA)
Flask session does not add `Vary: Cookie` header when accessed in some ways

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.

Affected Products
Vendor
pallets
Product
flask
Versions
Affected
  • < 3.1.3
Problem Types
TypeCWE IDDescription
CWECWE-524CWE-524: Use of Cache Containing Sensitive Information
Type: CWE
CWE ID: CWE-524
Description: CWE-524: Use of Cache Containing Sensitive Information
Metrics
VersionBase scoreBase severityVector
4.02.3LOW
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
Version: 4.0
Base score: 2.3
Base severity: LOW
Vector:
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
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/pallets/flask/security/advisories/GHSA-68rp-wp8r-4726
x_refsource_CONFIRM
https://github.com/pallets/flask/commit/089cb86dd22bff589a4eafb7ab8e42dc357623b4
x_refsource_MISC
https://github.com/pallets/flask/releases/tag/3.1.3
x_refsource_MISC
Hyperlink: https://github.com/pallets/flask/security/advisories/GHSA-68rp-wp8r-4726
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/pallets/flask/commit/089cb86dd22bff589a4eafb7ab8e42dc357623b4
Resource:
x_refsource_MISC
Hyperlink: https://github.com/pallets/flask/releases/tag/3.1.3
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found