/

CVE-2026-71519

Severity:

HIGH RISK

(8.1)

Broken Access Control (CWE-639) in PrestaShop Webservice

CVE-2026-71519

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-639

Impact:

Cross-shop customer data exposure and account takeover

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

PrestaShop's Webservice API can fail to enforce shop ownership checks when accessing customer records in a multi-shop installation. An authenticated API key holder may be able to read or modify customers associated with other shops, potentially exposing sensitive data or enabling account takeover.

Affected context

The issue affects PrestaShop installations before 8.2.9 and 9.2.1 when the Webservice API is used in a multi-shop setup. The risk arises where customer records are processed without verifying that the record belongs to a shop the API key is authorized to access.

Exploit preconditions

  • Attack surface: PrestaShop Webservice API in a multi-shop installation
  • Required access: An authenticated Webservice API key
  • Trigger point: API requests that read or modify customer records
  • Why exploitation is possible: Record-level shop ownership checks are missing from relevant authorization and entity-saving logic

Why this happens

The underlying issue is an authorization check that does not adequately bind access to a customer record to the shop authorized for the request. This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where access to a resource is not correctly restricted based on the identifier or context used to select it. In this case, the missing record-level shop ownership check can allow an API key to cross shop boundaries.

Potential impact

  • An attacker may read customer records belonging to other shops.
  • Sensitive customer information, including password hashes and secure keys, could be exposed.
  • An attacker could change customer email addresses or passwords and take over accounts.
  • Customer data integrity and trust between shops in the installation could be compromised.

General mitigation guidance

Defensive approaches focus on enforcing authorization for every customer record operation, not only at the API or shop level.

  • Apply consistent record-level shop ownership checks to read and write operations.
  • Use secure-by-default authorization policies that deny access unless ownership and permissions are explicitly verified.
  • Minimize the scope and privileges of Webservice API keys.
  • Reduce reliance on caller-supplied record identifiers as evidence of authorization.
  • Log and review cross-shop access attempts and sensitive customer record changes.

How teams detect issues like this

  • Review authorization paths for customer record reads, creates, updates, and deletes, especially checks involving shop ownership.
  • Use static analysis or code review rules to flag entity operations that accept record identifiers without an associated authorization check.
  • Test access-control policies to verify that API keys cannot access customer records outside their permitted shop scope.
  • Monitor API activity for unusual cross-shop access or changes to customer email addresses and passwords.

Sources

SourceLink
codeant.aicodeant.ai/security-research/cve-2026-71519-prestashop-webservice-cross-tenant-account-takeover
github.comgithub.com/PrestaShop/PrestaShop/releases/tag/8.2.9
github.comgithub.com/PrestaShop/PrestaShop/releases/tag/9.2.1
github.comgithub.com/PrestaShop/PrestaShop/security/advisories/GHSA-hjwq-7qvv-qxj4
vulncheck.comvulncheck.com/advisories/prestashop-webservice-api-authorization-bypass-via-id-shop-parameter

Frequently asked

questions

It concerns customer records across shops in a multi-shop PrestaShop installation when accessed through the Webservice API.

Yes. The described attack requires an authenticated Webservice API key, but that key may be able to access records beyond its intended shop scope.

Enforce authorization at the record level for every operation, verifying that the customer belongs to a shop the API key is permitted to access.

Apply deny-by-default, record-level access policies and test them across tenant or shop boundaries. Keep API keys narrowly scoped and monitor sensitive cross-boundary operations.

Find out what's already
exploitable in your codebase.