Package compatibility

Flask 2.2

What Python versions does this Flask version support?

Compatibility is derived from PyPI requires_python and Trove classifiers. CompatHub does not independently test every combination.

Declared Python requirement

requires_python
>=3.7
Tip version
2.2.5
Source
PyPI (requires_python / classifiers)

Python compatibility matrix

Evaluated against CompatHub Python VersionLines. Compatibility and lifecycle status are separate signals.

Other Flask lines

Security

Advisories affecting Flask 2.2 (OSV.dev evidence). Known exploited status, due dates, and ransomware use from CISA KEV when matched.

Known vulnerabilities
3
Known exploited
0
Highest CVSS
  • CVE-2026-27205PYSEC-2026-2151
    Affected:
    <3.1.3
    Fixed in:
    3.1.3
    Source:
    OSV source · Advisory
  • CVE-2026-27205GHSA-68rp-wp8r-4726

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

    Affected:
    <3.1.3
    Fixed in:
    3.1.3
    Source:
    OSV source · Advisory
  • CVE-2023-30861GHSA-m2qf-hxjv-5gpq

    Flask vulnerable to possible disclosure of permanent session cookie due to missing Vary: Cookie header

    Affected:
    <2.2.5
    Fixed in:
    2.2.5
    Source:
    OSV source · Advisory