CVE-2026-71531PrestaShop Webservice API Authorization Bypass via id_shop Parameter
PrestaShop before 8.2.9 and 9.2.1 contains an authorization flaw in the Webservice API that allows an attacker holding a key restricted to one shop to act on data of every shop by submitting requests with id_shop=all or id_shop_group=N, which expand the shop context without validating the key's actual shop associations and cause shopHasRight() to evaluate the expanded set as a disjunction. Attackers can exploit this flaw via classes/webservice/WebserviceRequest.php to read, modify, or delete data belonging to shops they are not authorized for, including full customer records such as email addresses, secure_key, and password hashes across the installation.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PrestaShop: affected: before 8.2.9, 9.0.0 to before 9.2.1; fixed in
8.2.9,9.2.1
Vendor advisories:
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfgh (vendor-advisory)
- https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1 (patch, release-notes)
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9 (patch, release-notes)
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfgh
- https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1
- https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9
- https://www.vulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter
- https://codeant.ai/security-research/cve-2026-71531-prestashop-webservice-id-shop-authorization-bypass
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.