Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-51586 Overview
CVE-2025-51586 is an information disclosure vulnerability in PrestaShop, an open-source e-commerce platform. The flaw resides in controllers/admin/AdminLoginController.php and affects PrestaShop versions prior to 8.2.1. Attackers can abuse the password reset feature to obtain sensitive information from the application. The weakness is classified under CWE-359: Exposure of Private Personal Information to an Unauthorized Actor. A proof-of-concept exploit has been published, increasing the likelihood of opportunistic abuse against unpatched merchant storefronts.
Critical Impact
Unauthenticated attackers can leverage the password reset endpoint in the admin login controller to extract sensitive information from PrestaShop installations before version 8.2.1.
Affected Products
- PrestaShop versions prior to 8.2.1
- controllers/admin/AdminLoginController.php component
- PrestaShop administrative password reset feature
Discovery Timeline
- 2025-09-08 - CVE-2025-51586 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-51586
Vulnerability Analysis
The vulnerability affects the administrative login workflow in PrestaShop. Specifically, the AdminLoginController.php file handles password reset requests from merchants attempting to recover admin access. The implementation discloses sensitive information through the reset password feature, allowing attackers to extract data they should not be able to observe.
The issue is categorized under CWE-359, which covers improper exposure of private personal information. Exploitation requires only network access to the admin login interface. No authentication or user interaction is required, though exploitation complexity is high because specific conditions must be met for information to leak.
A public proof of concept is available at the CVE-2025-51586 PrestaShop PoC repository, lowering the technical barrier for attackers.
Root Cause
The root cause is insufficient control over response content returned by the password reset functionality in AdminLoginController.php. The controller returns differentiated or verbose responses that leak internal state related to the targeted account. Attackers can observe these responses to infer sensitive details tied to administrator accounts.
Attack Vector
An unauthenticated attacker interacts with the PrestaShop back-office password reset endpoint over the network. By submitting crafted reset requests and analyzing the server response, the attacker extracts information that should remain confidential. See the Maxime Morel advisory for technical details on the exploitation path.
No code example is reproduced here. Readers should consult the referenced advisory and public PoC for exact request structure.
Detection Methods for CVE-2025-51586
Indicators of Compromise
- Repeated POST requests to the PrestaShop admin password reset endpoint from a single source IP
- Password reset submissions targeting multiple distinct administrator email addresses in short succession
- HTTP access log entries referencing AdminLoginController with unusual request patterns or timing
Detection Strategies
- Monitor web server logs for high-volume access to the /admin password reset routes
- Correlate password reset requests with authentication failures from the same source
- Alert when enumeration-style traffic patterns target the back-office login interface
Monitoring Recommendations
- Enable verbose access logging on the PrestaShop admin directory and forward logs to a centralized SIEM
- Deploy a web application firewall rule to rate-limit password reset requests per source IP
- Review PrestaShop version inventory across hosted storefronts to identify instances older than 8.2.1
How to Mitigate CVE-2025-51586
Immediate Actions Required
- Upgrade PrestaShop to version 8.2.1 or later using the official PrestaShop 8.2.1 release
- Restrict access to the /admin back-office directory using IP allowlists or VPN-gated access
- Rotate credentials for administrative accounts if suspicious reset activity is observed in logs
Patch Information
PrestaShop addressed CVE-2025-51586 in version 8.2.1. The official release notes and patched source are available on the PrestaShop GitHub release page. Administrators running any version prior to 8.2.1 should plan an immediate upgrade and validate functionality in a staging environment before promoting to production.
Workarounds
- Rename the default /admin directory to a non-guessable path to reduce exposure of the vulnerable endpoint
- Place the admin interface behind HTTP Basic authentication or a reverse-proxy allowlist until patched
- Apply a WAF rule to block repeated password reset submissions targeting multiple accounts from one source
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

