ADVISORIES

PyPA Advisory Database

PYSEC-2026-1382

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"

Affected packages

EcosystemPackageAffected versions
PyPIflask-appbuilder
All versions before 4.5.1 (fixed in 4.5.1)

References