CVE-2025-47278
published low CVSS 4.0 · 1.8Flask uses fallback key instead of current signing key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pallets | — | flask= 3.1.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | plucky | flask | Advisory build | 3.1.0-2ubuntu1.1 | USN-7534-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flaskaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flaskppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flasks390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flaskx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-docaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-docppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-docs390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-docx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flaskaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flaskppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flasks390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flaskx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flask-docaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flask-docppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flask-docs390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Flask-docx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flaskaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flaskppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flasks390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flaskx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-docaarch64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-docppc64le | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-docs390x | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-docx86_64 | Advisory build | 3.1.1-1.1 | OPENSUSE-SU-2025:15152-1 |
| Ubuntu | plucky | python3-flask | Advisory build | 3.1.0-2ubuntu1.1 | USN-7534-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.8 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pallets | flask | = 3.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-683 CWE-683: Function Call With Incorrect Order of Arguments
References
3Provider assertions
2GitHub_M · cna
Flask uses fallback key instead of current signing key
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 59647fd3f5dcd74db738462baf51ea8291be0ad65f3df88e494a52dc0c4d93d8
- Ingested
- 23 Sep 2026, 08:49:59 UTC
- Source record
- Official CVE record