# CVE-2021-41265: Improper Authentication in Flask-AppBuilder

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-02)
- Published: 2021-12-09T16:40:11.000Z
- Modified: 2026-07-08T06:29:22.945Z
- Also known as: GHSA-m3rf-7m4w-r66q, PYSEC-2021-851
- Weaknesses: CWE-287
- Assigned by: GitHub_M

## Description

Flask-AppBuilder is a development framework built on top of Flask. Verions prior to 3.3.4 contain an improper authentication vulnerability in the REST API. The issue allows for a malicious actor with a carefully crafted request to successfully authenticate and gain access to existing protected REST API endpoints. This only affects non database authentication types and new REST API endpoints. Users should upgrade to Flask-AppBuilder 3.3.4 to receive a patch.

(As written by CVE List.)

## Affected

- dpgaspar Flask-AppBuilder: < 3.3.4; before 3.3.4
- flask-appbuilder (PyPI): before 3.3.4; before eba517aab121afa3f3f2edb011ec6bc4efd61fbc

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-m3rf-7m4w-r66q> (advisory, third-party-advisory, web)
- <https://github.com/dpgaspar/Flask-AppBuilder/commit/eba517aab121afa3f3f2edb011ec6bc4efd61fbc> (fix, patch, third-party-advisory, web)
- <https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.4> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41265> (advisory)
- <https://github.com/dpgaspar/Flask-AppBuilder> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-851.yaml> (web)

## Sources

- CVE List: [CVE-2021-41265](https://www.cve.org/CVERecord?id=CVE-2021-41265), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m3rf-7m4w-r66q](https://github.com/advisories/GHSA-m3rf-7m4w-r66q), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41265](https://nvd.nist.gov/vuln/detail/CVE-2021-41265), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-851](https://osv.dev/vulnerability/PYSEC-2021-851), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-41265 · Whole record: https://cve.day/CVE-2021-41265.json · Rebuilt by cve.day 2026-11-25T22:58:05.915Z
