PyPI package
Flask vulnerabilities by version
The latest release, 3.1.3 (Feb 19, 2026), has no known vulnerabilities. 9 of the 10 most recent releases have known vulnerabilities. OSV.dev lists 5 advisories for Flask; the newest was published on Feb 19, 2026.
PyPI (opens in a new tab) describes it as “A simple framework for building complex web applications.”
- Latest release
- 3.1.3
- Feb 19, 2026, no known vulnerabilities
- Downloads last week
- 40.1M
- All versions, from pypistats.org
- Advisories on OSV.dev
- 5
- Newest Feb 19, 2026
- Licence
- BSD-3-Clause
Recent releases
PyPI doesn’t publish downloads per version, so these are the newest releases, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.
Release lines
The newest release of each minor line, from the registry. Flask doesn’t publish support dates we can check.
Newest advisories
The 5 most recently published, with the versions each one affects.
LowCVE-2026-27205 on OSV.dev (opens in a new tab)GHSA-68rp-wp8r-4726
Flask session does not add `Vary: Cookie` header when accessed in some ways
Affects < 3.1.3. Published Feb 19, 2026.
LowCVE-2025-47278 on OSV.dev (opens in a new tab)GHSA-4grg-w6v8-c28g
Flask uses fallback key instead of current signing key
Affects >= 3.1.0, < 3.1.1. Published May 13, 2025.
CriticalCVE-2023-30861 on OSV.dev (opens in a new tab)GHSA-m2qf-hxjv-5gpq
Flask vulnerable to possible disclosure of permanent session cookie due to missing Vary: Cookie header
Affects >= 2.3.0, < 2.3.2; < 2.2.5. Published May 1, 2023.
CriticalCVE-2019-1010083 on OSV.dev (opens in a new tab)GHSA-5wv5-4vpf-pj6m
Pallets Project Flask is vulnerable to Denial of Service via Unexpected memory usage
Affects < 1.0. Published Jul 19, 2019.
CriticalCVE-2018-1000656 on OSV.dev (opens in a new tab)GHSA-562c-5r94-xh97
Flask is vulnerable to Denial of Service via incorrect encoding of JSON data
Affects < 0.12.3. Published Aug 23, 2018.
Which Flask do you have?
Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.
How this page is checked
StackPrism reads every OSV.dev advisory for Flask, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from pypistats.org. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against OSV.dev, CISA KEV, PyPI, pypistats.org and deps.dev.