# CVE-2024-25128: Flask-AppBuilder incorrect authentication when using auth type OpenID

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/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): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2024-02-28T15:30:27.705Z
- Modified: 2026-10-27T16:45:04.488Z
- Also known as: GHSA-j2pw-vp55-fqqj, PYSEC-2026-340
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Flask-AppBuilder is an application development framework, built on top of Flask. When Flask-AppBuilder is set to AUTH_TYPE AUTH_OID, it allows an attacker to forge an HTTP request, that could deceive the backend into using any requested OpenID service. This vulnerability could grant an attacker unauthorised privilege access if a custom OpenID service is deployed by the attacker and accessible by the backend. This vulnerability is only exploitable when the application is using the OpenID 2.0 authorization protocol. Upgrade to Flask-AppBuilder 4.3.11 to fix the vulnerability.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-j2pw-vp55-fqqj> (mitigation, vendor-advisory, web)
- <https://github.com/dpgaspar/Flask-AppBuilder/commit/6336456d83f8f111c842b2b53d1e89627f2502c8> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25128> (advisory)
- <https://github.com/dpgaspar/Flask-AppBuilder> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/flask-appbuilder/PYSEC-2026-340.yaml> (web)
- <https://pypi.org/project/flask-appbuilder> (package, web)
- <https://github.com/advisories/GHSA-j2pw-vp55-fqqj> (advisory)

## Sources

- CVE List: [CVE-2024-25128](https://www.cve.org/CVERecord?id=CVE-2024-25128), CVE Terms of Use, modified 2024-08-26
- GitHub Advisory Database: [GHSA-j2pw-vp55-fqqj](https://github.com/advisories/GHSA-j2pw-vp55-fqqj), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-25128](https://nvd.nist.gov/vuln/detail/CVE-2024-25128), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-340](https://osv.dev/vulnerability/PYSEC-2026-340), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-25128 · Whole record: https://cve.day/CVE-2024-25128.json · Rebuilt by cve.day 2026-11-25T22:58:37.168Z
