Advisory

GHSA-fw5r-6m3x-rh7p

Also known as: CVE-2024-45314, PYSEC-2026-1382

Summary

Flask-AppBuilder's login form allows browser to cache sensitive fields

Details

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"

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-04 18:12 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

flask-appbuilder

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.1 (ecosystem)

Fixed versions

4.5.1

Fix

  • Fixed version 4.5.1
    pip install --upgrade flask-appbuilder==4.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences