UBUNTU-CVE-2026-27205

Source
https://ubuntu.com/security/CVE-2026-27205
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-27205
Upstream
Published
2026-02-23T00:00:00Z
Modified
2026-02-24T00:52:07.148856Z
Severity
  • 2.3 (Low) CVSS_V4 - 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 Calculator
  • Ubuntu - low
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@0.10.1-2ubuntu0.1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.1-2build2
0.10.1-2ubuntu0.1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "0.10.1-2ubuntu0.1",
            "binary_name": "python-flask"
        },
        {
            "binary_version": "0.10.1-2ubuntu0.1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"
Ubuntu:18.04:LTS
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@0.12.2-3ubuntu0.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.12.2-2
0.12.2-3
0.12.2-3ubuntu0.1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "0.12.2-3ubuntu0.1",
            "binary_name": "python-flask"
        },
        {
            "binary_version": "0.12.2-3ubuntu0.1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"
Ubuntu:20.04:LTS
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@1.1.1-2ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.2-3
1.1.1-2
1.1.1-2ubuntu0.1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "1.1.1-2ubuntu0.1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"
Ubuntu:22.04:LTS
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@2.0.1-2ubuntu1.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.2-2
2.*
2.0.1-2ubuntu1
2.0.1-2ubuntu1.1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "2.0.1-2ubuntu1.1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"
Ubuntu:24.04:LTS
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@3.0.2-1ubuntu1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.5-1ubuntu1
3.*
3.0.2-1ubuntu1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "3.0.2-1ubuntu1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"
Ubuntu:25.10
flask

Package

Name
flask
Purl
pkg:deb/ubuntu/flask@3.1.2-1ubuntu1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.0-2ubuntu1
3.1.1-1ubuntu1
3.1.2-1ubuntu1

Ecosystem specific

{
    "priority_reason": "Per flask developers, this is a low severity issue",
    "binaries": [
        {
            "binary_version": "3.1.2-1ubuntu1",
            "binary_name": "python3-flask"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27205.json"