Advisory

PYSEC-2026-1382

Also known as: CVE-2024-45314, GHSA-fw5r-6m3x-rh7p

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

Low Basis: CVSS v3 score 3.6, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 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: PyPA Advisory Database · CC BY 4.0

Sources & licences