Home / pallets / flask / CVE-2025-47278
CVE-2025-47278: is it exploited, and which versions of pallets flask are affected and fixed?
CVE-2025-47278 is a function Call With Incorrect Order of Arguments vulnerability in pallets flask. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: flask from 3.1.0 before 3.1.1 (GitHub advisory GHSA-4grg-w6v8-c28g). Fixed in 3.1.1 (GitHub advisory GHSA-4grg-w6v8-c28g). Severity: Low (1.8, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-47278?
Flask uses fallback key instead of current signing key
Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback key configuration was handled resulted in the last fallback key being used for signing, rather than the current signing key. Signing is provided by the `itsdangerous` library. A list of keys can be passed, and it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to use key rotation by setting `SECRET_KEY_FALLBACKS` care likely to unexpectedly be signing their sessions with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.
From the CVE record by GitHub_M, last updated May 13, 2025, 20:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pallets | flask | = 3.1.0 |
As the CVE record by GitHub_M states it, last updated May 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | flask | >= 3.1.0, < 3.1.1 | 3.1.1 | GHSA-4grg-w6v8-c28g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 13, 2025. Summary: Flask uses fallback key instead of current signing key.
How severe is CVE-2025-47278?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-47278 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 13, 2025)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-683 Function Call With Incorrect Order of Arguments
Where are the vendor advisories and references?
- https://github.com/pallets/flask/security/advisories/GHSA-4grg-w6v8-c28g x_refsource_CONFIRM
- https://github.com/pallets/flask/commit/73d6504063bfa00666a92b07a28aaf906c532f09 x_refsource_MISC
- https://github.com/pallets/flask/releases/tag/3.1.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 5, 2025
- Published
- May 13, 2025, 15:57 UTC
- CVE record updated
- May 13, 2025, 20:14 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:27 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect flask?
- Feb 21, 2026CVE-2026-27205 pallets flask: use of Cache Containing Sensitive Information
- May 2, 2023CVE-2023-30861 pallets flask: use of Persistent Cookies Containing Sensitive Information
Questions about CVE-2025-47278
Is CVE-2025-47278 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of pallets flask are affected by CVE-2025-47278?
flask from 3.1.0 before 3.1.1, per the GitHub advisory GHSA-4grg-w6v8-c28g. The tables above give every range the sources list.
Which version fixes CVE-2025-47278?
3.1.1, per the GitHub advisory GHSA-4grg-w6v8-c28g. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-47278?
Low (1.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-47278?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.