Advisory

PYSEC-2026-1379

Also known as: CVE-2025-32962, GHSA-99pm-ch96-ccp2

Summary

Flask-AppBuilder open redirect vulnerability using HTTP host injection

Details

Impact
Flask-AppBuilder prior to 4.6.2 would allow for a malicious unauthenticated actor to perform an open redirect by manipulating the Host header in HTTP requests.

Patches
Flask-AppBuilder 4.6.2 introduced the FAB_SAFE_REDIRECT_HOSTS configuration variable, which allows administrators to explicitly define which domains are considered safe for redirection.

Examples:

FAB_SAFE_REDIRECT_HOSTS = ["yourdomain.com", "sub.yourdomain.com", "*.yourcompany.com"]

Workarounds
Use a Reverse Proxy to Enforce Trusted Host Headers

References
_Are there any links users can visit to find out more?_

Severity

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

Dates

Published
2026-07-07 16:02 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

flask-appbuilder

PyPI · All systems

Affected

  • introduced 0, fixed 4.6.2 (ecosystem)

Fixed versions

4.6.2

Fix

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

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