# CVE-2025-43931: flask-boilerplate through a170e7c allows account takeover via the password reset feature because SERVERNAME is not configured and thus a re…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-07-07T00:00:00.000Z
- Modified: 2026-06-17T09:24:46.140Z
- Weaknesses: CWE-640
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

flask-boilerplate through a170e7c allows account takeover via the password reset feature because SERVER_NAME is not configured and thus a reset depends on the Host HTTP header.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/MaxHalford/flask-boilerplate/blob/a170e7cec605906801680567c4279b30ccd9630b/app/views/user.py#L103-L126>
- <https://gist.github.com/BrookeYangRui/19fcc6c19df7bb4d8437476c609a6129>

## Sources

- CVE List: [CVE-2025-43931](https://www.cve.org/CVERecord?id=CVE-2025-43931), CVE Terms of Use, modified 2025-07-08
- NVD: [CVE-2025-43931](https://nvd.nist.gov/vuln/detail/CVE-2025-43931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-43931 · Whole record: https://cve.day/CVE-2025-43931.json · Rebuilt by cve.day 2026-11-25T22:59:00.737Z
