Flask-AppBuilder's login form allows browser to cache sensitive fields
Impact
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.
Patches
Upgrade flask-appbuilder to version 4.5.1
Workarounds
If upgrading is not possible configure your web server to send the following HTTP headers for /login: "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0" "Pragma": "no-cache" "Expires": "0"
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | flask-appbuilder | < 4.5.1 | 4.5.1 |
References
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-fw5r-6m3x-rh7p
- https://nvd.nist.gov/vuln/detail/CVE-2024-45314
- https://github.com/dpgaspar/Flask-AppBuilder/commit/3030e881d2e44f4021764e18e489fe940a9b3636
- https://github.com/dpgaspar/Flask-AppBuilder
- https://pypi.org/project/flask-appbuilder
- https://github.com/advisories/GHSA-fw5r-6m3x-rh7p
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N- Weakness (CWE)
CWE-525- Platform
- Python (PyPI)
- Package
flask-appbuilder- Disclosed
- 04.09.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1382 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-fw5r-6m3x-rh7p - CC BY 4.0
Vulnerability history: flask-appbuilder
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 05.2021 09.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 2
- Medium 9
- Low 2
Disclosures per year
- 2021: 3
- 2022: 3
- 2023: 2
- 2024: 3
- 2025: 3
- 2026: 0
-
Flask-AppBuilder's login form allows browser to cache sensitive fields this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.