CVE-2021-41265
HIGH 8.8CVSS 3.1Improper Authentication in Flask-AppBuilder
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.
- Published
- 9 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-m3rf-7m4w-r66qPYSEC-2021-851
- Sources
- NVDJSONOSV GHSA-m3rf-7m4w-r66qJSONOSV PYSEC-2021-851JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dpgaspar | flask-appbuildercpe:2.3:a:dpgaspar:flask-appbuilder:*:*:*:*:*:*:*:* |
< 3.3.4 | 3.3.4 |
| OSV | PyPI | flask-appbuilder | < 3.3.4 | 3.3.4 |
References
- https://github.com/dpgaspar/Flask-AppBuilder/commit/eba517aab121afa3f3f2edb011ec6bc4efd61fbc · Patch, Third Party Advisory, WEB, FIX
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.4 · Release Notes, Third Party Advisory, WEB
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-m3rf-7m4w-r66q · Third Party Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Dec 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Dec 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Dec 2021)