---
id: CVE-2021-32805
aliases:
  - GHSA-624f-cqvr-3qw4
  - PYSEC-2021-359
title: Flask-AppBuilder Open Redirect vulnerability
summary: Flask-AppBuilder Open Redirect vulnerability
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
vendor: flask-appbuilder
product: flask-appbuilder
ecosystem: pip
affected:
  - flask-appbuilder < 3.3.2
patched:
  - flask-appbuilder 3.3.2
published: '2021-09-08'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-624f-cqvr-3qw4'
references:
  - url: >-
      https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-624f-cqvr-3qw4
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-32805'
  - url: >-
      https://github.com/dpgaspar/Flask-AppBuilder/commit/6af28521589599b1dbafd6313256229ee9a4fa74
  - url: 'https://github.com/dpgaspar/Flask-AppBuilder'
  - url: 'https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.2'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-359.yaml
  - url: 'https://pypi.org/project/Flask-AppBuilder'
tags:
  - osv
  - pip
epss: 0.007
epssPercentile: 0.51164
ingestedAt: '2026-07-08T18:25:46.257Z'
---

## Overview

### Impact
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 

### Patches
Install Flask-AppBuilder 3.2.2 or above

### Workarounds
Filter HTTP traffic containing `?next={next-site}` where the `next-site` domain is different from the application you are protecting

## Affected packages

- `flask-appbuilder < 3.3.2`

## Remediation

Upgrade to a patched release:

- `flask-appbuilder 3.3.2`
