---
id: "CVE-2026-71531"
page: "https://infrastack.ai/live/CVE-2026-71531"
kind: "vulnerability"
aliases: ["CVE-2026-71531"]
title: "PrestaShop: shop-restricted Webservice key reads and edits every shop's data"
severity: "high"
cvss: 8.6
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ecommerce", "package", "php", "prestashop", "self-hosted"]
not_affected_if: ["patched-version", "single-shop-keys-unused", "webservice-disabled"]
published_at: "2026-11-13T23:17:19+00:00"
first_seen_at: "2026-11-13T23:35:11+00:00"
updated_at: "2026-11-13T23:37:00+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71531", "first_seen_at": "2026-11-13T23:35:11+00:00"}]
exploit_sources: []
---

# PrestaShop: shop-restricted Webservice key reads and edits every shop's data

Link for people: https://infrastack.ai/live/CVE-2026-71531 (this .md is for agents)

A PrestaShop Webservice API key limited to one shop can use id_shop=all or id_shop_group=N to act on every shop in the installation. An attacker with such a key can read, change or delete other shops' data, including customer emails, secure keys and password hashes.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the PrestaShop version in the admin panel or in `config/settings.inc.php` (or the version field in `composer.json` for source installs); versions below `8.2.9` or `9.2.1` are affected.
- Review Webservice API keys in Advanced Parameters > Webservice and look for keys restricted to a single shop that are used by external systems.
- Check whether the Webservice API is enabled at all in Advanced Parameters > Webservice.

## Fix

- PrestaShop 8.x: upgrade to `8.2.9` or later
- PrestaShop 9.x: upgrade to `9.2.1` or later

## Timeline

- 2026-11-13T23:35:11+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-71531

## Documents

- [advisory] Vendor advisory: github.com https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-3f36-4qv4-vfgh
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter
- [fix] Release notes: github.com https://github.com/PrestaShop/PrestaShop/releases/tag/8.2.9
- [fix] Release notes: github.com https://github.com/PrestaShop/PrestaShop/releases/tag/9.2.1

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
