PrestaShop authorization bypass in webservice API
Only affects PrestaShop 8.x before 8.2.9 and 9.x before 9.2.1 when a Webservice API key restricted to one shop sends requests with id_shop=all or id_shop_group=N. Fixed in 8.2.9 and 9.2.1.
- Exploited
- Proof of concept public, per CISA
- Fix
- Fixed in 8.2.9, 9.2.1
- Who is exposed
- Specific setups only
Summary
PrestaShop is affected. An attacker who has network access and a valid key restricted to a single shop can use the Webservice API, by adding parameters such as id_shop=all, to read, change, or delete data for shops the key was never authorized for, including customer email addresses, secure keys, and password hashes across the installation.
Written by a model
Original description
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.
Who should check
Teams running PrestaShop 8.x or 9.x with the Webservice API enabled and API keys restricted to individual shops, in multishop installations.
“PrestaShop before 8.2.9 and 9.2.1 contains an authorization flaw in the Webservice API”
What to do
Check whether your setup matches what the bug needs.
PrestaShop 9.x before 9.2.1 or 8.x before 8.2.9 (affected range per the advisory). The attacker holds a Webservice API key restricted to one shop. The attacker submits requests with id_shop=all or id_shop_group=N.Upgrade to a fixed version: 8.2.9, 9.2.1.
Workaround: Disable the Webservice API if it is not used.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-71531 (PrestaShop Webservice API Authorization Bypass via id_shop Parameter), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-71531 (entry last updated 2026-11-20):
Affected:
- PrestaShop PrestaShop: fixed in 8.2.9; from 9.0.0, fixed in 9.2.1
Fixed versions: 8.2.9, 9.2.1.
Vendor patches: GHSA-3f36-4qv4-vfgh (source: https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfgh). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- PrestaShop 9.x before 9.2.1 or 8.x before 8.2.9 (affected range per the advisory). (source: https://www.vulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter)
- The attacker holds a Webservice API key restricted to one shop. (source: https://www.vulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter)
- The attacker submits requests with id_shop=all or id_shop_group=N. (source: https://www.vulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
Workaround: Disable the Webservice API if it is not used. (source: https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfgh)
CISA KEV: CVE-2026-71531 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-71531 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-71531
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-71531"}.Affected versions
- PrestaShop PrestaShopfixed in 8.2.9; From 9.0.0 · fixed in 9.2.1
cve.now Index
- Exploitation15/40CISA rates a proof of concept as public
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity9.6/10CVSS 8.6, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 68 if added to CISA KEV
- Would score about 63 if CISA's SSVC rates exploitation active
- Would score about 40 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now3 days
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
4 days - Record last updated
Public exploit activity
- EPSS: 0.42%
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · PrestaShop/PrestaShop · Advisory GHSA-3f36-4qv4-vfgh |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-71531 |
| Record | NVD · CVE-2026-71531 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | codeant.ai · security-research/cve-2026-71531-prestashop-webservice-id-shop-authorization-bypass |
| Other links 3 | |
| Patch | GitHub · PrestaShop/PrestaShop · Release 9.2.1 |
| Patch | GitHub · PrestaShop/PrestaShop · Release 8.2.9 |
| Link | vulncheck.com · advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter |
Questions about CVE-2026-71531
Is CVE-2026-71531 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A Webservice API key limited to one shop can read, and within its permissions change or delete, data of shops it is not associated with. This includes full customer records such as email addresses, secure_key and password hashes.
Source: vulncheck.com, github.com
Which versions are affected by CVE-2026-71531?
PrestaShop: before 8.2.9; from 9.0.0 before 9.2.1.
Source: cve.now feed data
Am I affected, and how do I check?
Versions before 8.2.9 in the 8.x line and before 9.2.1 in the 9.x line are in the affected range. The setup involves a Webservice API key restricted to one shop, with requests submitted using id_shop=all or id_shop_group=N. To check, look at your PrestaShop version and at the shop association of your Webservice API keys in the back office.
Source: vulncheck.com, github.com
How do I fix CVE-2026-71531?
Upgrade to PrestaShop 9.2.1 or 8.2.9. The vendor's patch ID is GHSA-3f36-4qv4-vfgh. If you cannot upgrade yet, disable the Webservice API if it is not used.
Source: vulncheck.com, github.com
Related
- CVE-2026-54159ps_facetedsearch: PHP Object Injection in faceted search cache allows unauthenticated RCE
- CVE-2024-34716PrestaShop vulnerable to XSS via customer contact form in FO, through file upload
- CVE-2026-44212PrestaShop: Stored XSS executable in customer service view
- CVE-2023-47110Any value can be changed in the configuration table by an employee having access to block reassurance module
- CVE-2026-129957PrestaShop before 8.2.9 and 9.2.1 Path Traversal RCE via Theme/Module Import
- CVE-2026-71519PrestaShop Webservice API Broken Access Control via Customer Endpoint
No corrections so far. Something wrong on this page? Report an error.