{"id":"CVE-2021-41265","published":"2021-12-09T16:40:11Z","modified":"2024-08-04T03:08:31Z","title":"Improper Authentication in Flask-AppBuilder","vendor":"dpgaspar","product":"Flask-AppBuilder","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01317,"percentile":0.71502,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-m3rf-7m4w-r66q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/commit/eba517aab121afa3f3f2edb011ec6bc4efd61fbc","tags":["x_refsource_MISC"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.4","tags":["x_refsource_MISC"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":14.3},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"dpgaspar","affectedVersions":[{"vendor":"dpgaspar","product":"Flask-AppBuilder","versions":["< 3.3.4"]}],"affected":[{"ecosystem":"PyPI","package":"Flask-AppBuilder","vulnerableRanges":["<3.3.4"],"patched":["3.3.4"],"from":["GHSA-m3rf-7m4w-r66q","PYSEC-2021-851"],"provenance":"source"}],"summary":{"text":"Flask-AppBuilder, a development framework built on Flask, contains an improper authentication flaw in its REST API. An attacker who sends a carefully crafted request can authenticate successfully and reach existing protected REST API endpoints, but only where non-database authentication types are in use and on newly added REST API endpoints.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:15Z"},"euvd":{"id":"EUVD-2021-0082","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-29621","published":"2021-06-07","fixed":"3.3.0","kev":false},{"cve":"CVE-2021-32805","published":"2021-09-08","fixed":"3.3.2","kev":false,"link":{"from":"CVE-2021-32805","to":"CVE-2021-41265","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Flask-AppBuilder","fromFixed":"3.3.2","toFixed":"3.3.4","daysApart":92}]}},{"cve":"CVE-2021-41265","published":"2021-12-09","fixed":"3.3.4","kev":false},{"cve":"CVE-2022-21659","published":"2022-01-31","fixed":"3.4.4","kev":false,"link":{"from":"CVE-2021-41265","to":"CVE-2022-21659","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Flask-AppBuilder","fromFixed":"3.3.4","toFixed":"3.4.4","daysApart":53},{"kind":"same-code","provenance":"machine","files":["flask_appbuilder/security/manager.py"],"commits":["https://github.com/dpgaspar/Flask-AppBuilder/commit/eba517aab121afa3f3f2edb011ec6bc4efd61fbc","https://github.com/dpgaspar/Flask-AppBuilder/commit/e2b744c258ff62ece9d5ac7172c3b4644ff4c2fe"],"basis":"shared file"}]}},{"cve":"CVE-2022-24776","published":"2022-03-24","fixed":"3.4.5","kev":false},{"cve":"CVE-2022-31177","published":"2022-08-01","fixed":"4.1.3","kev":false}],"package":"PyPI:Flask-AppBuilder"}}