ADVISORIES

Vulnerability

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 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.

47 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALAS2023-2026-1476

    Amazon Linux 2023 - ALAS2023-2026-1476: Medium priority package update for python-flask

    Medium CVE-2026-27205 Amazon Linux Updated 27 March 2026
  • CGA-268m-55j4-vcxx
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-2p97-2x63-mmjh
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-3hvx-74gp-mp6f
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-3p54-82cr-65m4
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-42cq-63qh-49fq
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-59g5-9g26-x4xv
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-5cq5-pp9c-hgwq
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-5h6x-pqgh-jvp5
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-5xg4-h6c7-qm7f
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-6256-2p2v-293v
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-6h9j-x5w2-wqqq
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-6hcv-5685-wxvj
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-7xqg-5pqp-3c23
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-8rw4-r67r-jw69
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-94vj-3j3c-3q4j
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-9rg2-rcx9-c553
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-cvxv-r4p6-q4w6
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-fm2j-xpfh-jjcf
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-h9r4-8xr8-x4f3
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-hf6p-2m3x-2xp7
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-hr72-r6xx-q357
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-jf8c-gxj4-vr99
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-mpf5-4ccj-3r7x
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-pj9w-ch5f-qfwp
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-pv64-g974-x7w8
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-qhwg-2525-3f5v
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-r56f-jq9w-4q5j
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-rf72-4cg4-8pj4
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-rfc9-2r82-7q4w
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-rm3c-rrjq-9q25
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-rqxh-2vv2-p9cj
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-rwqj-q34g-7x2g
    CVE-2026-27205 Chainguard Updated 5 November 2026
  • CGA-vjvv-qrpg-5pqx
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • CGA-xqq2-3qm5-3cfh
    CVE-2026-27205 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-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 Use of Cache…

    CVE-2026-27205 Debian Updated 1 October 2026
  • GHSA-68rp-wp8r-4726

    Flask session does not add `Vary: Cookie` header when accessed in some ways

    Low CVE-2026-27205 PyPI Updated 10 September 2026
  • OESA-2026-2135

    python-flask security update

    Low CVE-2026-27205 openEuler Updated 18 August 2026
  • OESA-2026-2136

    python-flask security update

    Low CVE-2026-27205 openEuler Updated 18 August 2026
  • OESA-2026-2137

    python-flask security update

    Low CVE-2026-27205 openEuler Updated 18 August 2026
  • PYSEC-2026-2151

    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…

    CVE-2026-27205 PyPI Updated 13 July 2026
  • SUSE-SU-2026:0849-1

    Security update for python-Flask

    CVE-2026-27205 SUSEopenSUSE Updated 10 March 2026
  • SUSE-SU-2026:22023-1

    Security update for python-Flask

    CVE-2026-27205 SUSE Updated 9 June 2026
  • SUSEVEX-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 Use of Cache…

    Moderate CVE-2026-27205 SUSE Updated 11 September 2026
  • UBUNTU-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 Use of Cache…

    CVE-2026-27205 Ubuntu Updated 19 March 2026
  • USN-8104-1

    flask vulnerability

    CVE-2026-27205 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2026:10264-1

    python311-Flask-3.1.3-1.1 on GA media

    CVE-2026-27205 openSUSE Updated 23 March 2026

References