{"id":"CVE-2021-41265","aliases":["CVE-2021-41265","GHSA-m3rf-7m4w-r66q","PYSEC-2021-851"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Authentication in Flask-AppBuilder","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nImproper authentication on the REST API. Allows for a malicious actor with a carefully crafted request to successfully authenticate and gain access to existing protected REST API endpoints. Only affects non database authentication types, and new REST API endpoints.\n\n### Patches\nUpgrade to Flask-AppBuilder 3.3.4\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/dpgaspar/Flask-AppBuilder","format":"markdown","source":"ghsa"},{"lang":"es","text":"Flask-AppBuilder es un marco de desarrollo construido sobre Flask. Las versiones anteriores a la 3.3.4 contienen una vulnerabilidad de autenticación inapropiada en la API REST. El problema permite a un actor malicioso con una petición cuidadosamente diseñada sea autenticado con éxito y obtenga acceso a los endpoints de la API REST protegidos existentes. Esto sólo afecta a los tipos de autenticación que no son de base de datos y a los nuevos endpoints de la API REST. Los usuarios deben actualizar a Flask-AppBuilder versión 3.3.4 para recibir un parche","source":"nvd"}],"published":"2021-12-09T16:40:11.000Z","modified":"2026-07-08T06:29:22.945Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"< 3.3.4","status":"affected"}],"vendor":"dpgaspar","product":"Flask-AppBuilder","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.4"}],"ecosystem":"PyPI","package":"flask-appbuilder","purl":"pkg:pypi/flask-appbuilder","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.4"}],"vendor":"dpgaspar","product":"flask-appbuilder","cpe":"cpe:2.3:a:dpgaspar:flask-appbuilder:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"eba517aab121afa3f3f2edb011ec6bc4efd61fbc"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.4"}],"ecosystem":"PyPI","package":"flask-appbuilder","purl":"pkg:pypi/flask-appbuilder","repo":"https://github.com/dpgaspar/Flask-AppBuilder","source":"pysec"}],"references":[{"url":"https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-m3rf-7m4w-r66q","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/commit/eba517aab121afa3f3f2edb011ec6bc4efd61fbc","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v3.3.4","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41265","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2021-851.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41265","url":"https://www.cve.org/CVERecord?id=CVE-2021-41265","licence":"CVE Terms of Use","modified":"2024-08-04T03:08:31.645Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m3rf-7m4w-r66q","url":"https://github.com/advisories/GHSA-m3rf-7m4w-r66q","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:22.945Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41265","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41265","licence":"Public domain","modified":"2026-06-17T04:08:12.030Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-851","url":"https://osv.dev/vulnerability/PYSEC-2021-851","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:57.790Z"}],"updatedAt":"2026-11-25T22:58:05.915Z","epss":{"score":0.01317,"percentile":0.71667,"date":"2026-12-02T12:00:21.000Z"}}