# CVE-2026-124916: PrestaShop PHP code injection in debug mode configuration

Source: https://junglewise.ai/threats/cve-2026-124916-prestashop-contains-an-authenticated-php-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-09. Updated: 2026-11-09  
License: CC BY 4.0 with a link back

CVE-2026-124916 · Severity: info · Published 2026-11-09

PrestaShop is an e-commerce platform that allows merchants to build and manage online stores. An authenticated employee with Performance permissions can inject malicious PHP code through debug settings that executes with web server privileges on every request, potentially compromising the entire store's front and back office. This is a privilege escalation, as such employees normally cannot execute arbitrary code or modify other administrator accounts.

Technologies: [PrestaShop](https://junglewise.ai/threats/technologies/prestashop). Vendors: [PrestaShop](https://junglewise.ai/threats/vendors/prestashop).

## Quick answers

**Is CVE-2026-124916 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-124916 being exploited in the wild.

**How severe is CVE-2026-124916?** Informational severity, published 9 November 2026.

**Which products and versions are affected?** PrestaShop 9.0.0 through 9.2.0.

**Is there a fix for CVE-2026-124916?** Yes: fixed in 9.2.1. Until then: Restrict Performance page permissions to only those administrative profiles already trusted with code execution capabilities on the server. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-124916 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-124916?** Check whether you run PrestaShop at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 9.2.1

Restrict Performance page permissions to only those administrative profiles already trusted with code execution capabilities on the server.

## Technical details

The vulnerability is a code injection flaw (CWE-94) in PrestaShop's back-office Performance debug-mode configuration. An authenticated back-office user with Performance permissions can inject PHP code via the `debug_cookie_name` or `debug_cookie_value` fields, which are written unsanitized into a PHP configuration file loaded on every request. The injected code executes with web server privileges, enabling remote code execution and privilege escalation for low-privilege administrative accounts.

## Affected products

- PrestaShop PrestaShop 9.0.0 through 9.2.0

## Timeline

- 2026-11-09: disclosed
- 2026-11-09: patched: Version 9.2.1 released

## References

- [https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-95f5-jc9c-gg3q](https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-95f5-jc9c-gg3q)
- [https://prestashop.com/](https://prestashop.com/)

## Related threats

- [PrestaShop IP address spoofing in getRemoteAddr()](https://junglewise.ai/threats/cve-2026-84186-prestashop-ip-address-spoofing-in-getremoteaddr)
- [PrestaShop CSV injection in Alias parameter](https://junglewise.ai/threats/cve-2026-14846-prestashop-csv-injection-in-alias-parameter)
- [PrestaShop stored XSS in Customer Service view via Contact Us form](https://junglewise.ai/threats/cve-2026-44212-prestashop-stored-xss-in-customer-service-view-via-contact-us)
- [PrestaShop PHAR deserialization in _getHeaders function](https://junglewise.ai/threats/cve-2025-25692-prestashop-phar-deserialization-in-getheaders-function)
- [PrestaShop PHAR deserialization in theme import](https://junglewise.ai/threats/cve-2025-25691-prestashop-phar-deserialization-in-theme-import)
