# CVE-2025-62406: Piwigo is vulnerable to one-click account takeover by modifying the password-reset link

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-18T22:18:45.747Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-640
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Piwigo is a full featured open source photo gallery application for the web. In Piwigo 15.6.0, using the password reset function allows sending a password-reset URL by entering an existing username or email address. However, the hostname used to construct this URL is taken from the HTTP request's Host header and is not validated at all. Therefore, an attacker can send a password-reset URL with a modified hostname to an existing user whose username or email the attacker knows or guesses. This issue has been patched in version 15.7.0.

(As written by CVE List.)

## Affected

- Piwigo Piwigo: = 15.6.0; 15.6.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Piwigo/Piwigo/security/advisories/GHSA-9986-w7jf-33f6> (exploit, vendor-advisory)
- <https://github.com/Piwigo/Piwigo/commit/9d2565465efc3570963ff431b45cad21610f6692> (patch)

## Sources

- CVE List: [CVE-2025-62406](https://www.cve.org/CVERecord?id=CVE-2025-62406), CVE Terms of Use, modified 2025-11-19
- NVD: [CVE-2025-62406](https://nvd.nist.gov/vuln/detail/CVE-2025-62406), Public domain, modified 2026-10-19

---

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