# CVE-2021-32805: URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-601
- **Aliases:** GHSA-624f-cqvr-3qw4, PYSEC-2021-359
- **Published:** 2021-09-08T17:45:14.000Z
- **Modified:** 2026-07-08T06:28:28.582Z

## Who should check

- Projects that depend on PyPI package flask-appbuilder (\< 3.3.2)
- Anyone running dpgaspar Flask-AppBuilder \< 3.3.2

## Description

Flask-AppBuilder is an application development framework, built on top of Flask. In affected versions if using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability. To resolve this issue upgrade to Flask-AppBuilder 3.2.2 or above. If upgrading is infeasible users may filter HTTP traffic containing \`?next={next-site}\` where the \`next-site\` domain is different from the application you are protecting as a workaround.

## Affected and fixed versions

- PyPI `flask-appbuilder`: affected \< 3.3.2; fixed 3.3.2 (osv)
- dpgaspar Flask-AppBuilder: \< 3.3.2 (cvelist)

## Mitigation

- Upgrade flask-appbuilder to 3.3.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-32805. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-32805.md
Affected: flask-appbuilder < 3.3.2
Fixed in: 3.3.2

Steps:
1. Search this machine and project for flask-appbuilder (PyPI), dpgaspar Flask-AppBuilder: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-32805 being exploited?

There is no confirmed exploitation: CVE-2021-32805 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-32805?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-32805?

flask-appbuilder \< 3.3.2.

### Is there a fix for CVE-2021-32805?

Yes. Fixed in 3.3.2. Upgrade flask-appbuilder to 3.3.2 or later.

### How do I check if I'm affected by CVE-2021-32805?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-32805>
- patch: <https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74>
- other: <https://github.com/dpgaspar/Flask-AppBuilder>
- other: <https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.2>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-359.yaml>
- other: <https://pypi.org/project/Flask-AppBuilder>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-32805>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-624f-cqvr-3qw4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2021-359> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-32805> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-32805>
