Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/flask@3.0.0
purl pkg:pypi/flask@3.0.0
Next non-vulnerable version 3.1.3
Latest non-vulnerable version 3.1.3
Risk 1.9
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-rx8q-6dwq-a3hs
Aliases:
CVE-2026-27205
GHSA-68rp-wp8r-4726
Flask session does not add `Vary: Cookie` header when accessed in some ways When the `session` object is accessed, Flask should set the `Vary: Cookie` header. This 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 depends on the application's use of the session, and the cache's behavior regarding cookies. The risk depends on all these conditions being met. 1. The application must be hosted behind a caching proxy that does not ignore responses with cookies. 2. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached. 3. The application accesses the session in a way that does not access the values, only the keys, and does not mutate the session.
3.1.3
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-17T00:18:57.061856+00:00 GitLab Importer Affected by VCID-rx8q-6dwq-a3hs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Flask/CVE-2026-27205.yml 38.4.0
2026-04-12T01:43:16.771093+00:00 GitLab Importer Affected by VCID-rx8q-6dwq-a3hs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Flask/CVE-2026-27205.yml 38.3.0
2026-04-03T01:52:04.651081+00:00 GitLab Importer Affected by VCID-rx8q-6dwq-a3hs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/Flask/CVE-2026-27205.yml 38.1.0