
Cloud Vulnerability DB
A community-led vulnerabilities database
Flask version 3.1.0 contains a vulnerability (CVE-2025-47278) related to session key rotation handling, discovered and disclosed on May 13, 2025. The vulnerability affects the web server gateway interface (WSGI) web application framework's handling of fallback key configuration, specifically impacting sites that have opted to use key rotation via SECRETKEYFALLBACKS (Wiz Report, GitHub Advisory).
The vulnerability stems from incorrect handling of signing key order in Flask 3.1.0. The framework uses the itsdangerous library for signing, which expects the most recent key to be the last key in the list for signing purposes. However, Flask was constructing this list in reverse order, placing the signing key first instead of last. The vulnerability has been assigned a CVSS v4.0 base score of 1.8 (Low) with the 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 (NVD, GitHub Advisory).
The primary impact of this vulnerability is that affected sites are likely to unexpectedly sign their sessions with stale keys, impeding their transition to fresher keys. However, sessions remain signed, so this would not cause any sort of data integrity loss (GitHub Advisory).
The vulnerability has been patched in Flask version 3.1.1. Users are advised to upgrade to this version to resolve the issue (Flask Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."