CVE-2025-62406 Piwigo is vulnerable to one-click account takeover by modifying the password-reset link
Attackers can hijack user accounts by manipulating the Host header in password reset emails to redirect victims to malicious sites.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-62406?
CVE-2025-62406 is a high-severity vulnerability in Piwigo Piwigo, published on 18 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-640
Which versions are affected by CVE-2025-62406?
It affects 1 product.
Products include Piwigo Piwigo.
How do I fix CVE-2025-62406?
No fix has been published for CVE-2025-62406 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-62406 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62406 exists.
Other vulnerabilities in Piwigo Piwigo
Sources
Also known as GHSA-9986-w7jf-33f6.