CVE-2025-47278

python3-flask: Flask is a web server gateway interface (WSGI) web application framework.In Flask 3.1.0, the way fallback key configu...

CVE-2025-47278 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-47278, released May 13, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0019
8th percentile

Flask is a web server gateway interface (WSGI) web application framework.In Flask 3.1.0, the way fallback key configuration was handled resulted inthe last fallback key being used for signing, rather than the currentsigning key. Signing is provided by the `itsdangerous` library. A list ofkeys can be passed, and it expects the last (top) key in the list to be themost recent key, and uses that for signing. Flask was incorrectlyconstructing that list in reverse, passing the signing key first. Sitesthat have opted-in to use key rotation by setting `SECRET_KEY_FALLBACKS`care likely to unexpectedly be signing their sessions with stale keys, andtheir transition to fresher keys will be impeded. Sessions are stillsigned, so this would not cause any sort of data integrity loss. Version3.1.1 contains a patch for the issue.

Where it's fixed

ProductFixed inFixReleased
Linux
flask · Debian 13.5 (trixie) 3.1.1-1 DEBIAN-CVE-2025-47278 May 13, 2025
flask · Debian 14 3.1.1-1 DEBIAN-CVE-2025-47278 May 13, 2025
python3-flask · Ubuntu 25.04 (plucky) 3.1.0-2ubuntu1.1 python3-flask 3.1.0-2ubuntu1.1 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.