CVE-2024-45314 Flask-AppBuilder login form allows browser to cache sensitive fields
An attacker with access to a shared computer can retrieve sensitive login data cached by the browser due to missing cache-control headers in Flask-AppBuilder.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-45314?
CVE-2024-45314 is a low-severity vulnerability in dpgaspar Flask-AppBuilder, published on 4 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Flask-AppBuilder is an application development framework. Prior to version 4.5.1, the auth DB login form default cache directives allows browser to locally store sensitive data. This can be an issue on environments using shared computer resources. Version 4.5.1 contains a patch for this issue. If upgrading is not possible, configure one's web server to send the specific HTTP headers for `/login` per the directions provided in the GitHub Security Advisory.
Weakness: CWE-525
Which versions are affected by CVE-2024-45314?
3 open source packages ship an affected version, including flask-appbuilder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
flask-appbuilder PyPI | All versions | 4.5.1 |
flask-appbuilder PyPI | All versions | 4.5.1 |
flask-appbuilder PyPI | All versions | 4.5.1 |
Products include Dpgaspar Flask-Appbuilder.
How do I fix CVE-2024-45314?
Upgrade flask-appbuilder to 4.5.1 or later.
Is CVE-2024-45314 being exploited?
There is no known exploitation of CVE-2024-45314 in the wild and no public exploit code.
Other vulnerabilities in dpgaspar Flask-AppBuilder
- CVE-2024-25128 Flask-AppBuilder incorrect authentication when using auth type OpenID
- CVE-2021-41265 Improper Authentication in Flask-AppBuilder
- CVE-2023-29005 No Rate Limiting on Login AUTH DB
- CVE-2021-32805 URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder
- CVE-2025-58065 Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods
Sources
Also known as ECHO-4cf8-1d7b-5c06, GHSA-fw5r-6m3x-rh7p, PYSEC-2026-1382.