Clear verdict (November 2026): after the 18 PHP vulnerabilities published on November 19, 2026 (including 3 critical flaws rated CVSS 9.2: CVE-2026-126714 “phpAfterShell”, CVE-2026-115560 and CVE-2026-129289), PrestaShop 9.2.1 stores should NOT move their production to PHP 8.6.0 yet. They can and should apply the minor security update right away within their supported branch: PHP 8.5.13+ (recommended), PHP 8.4.28+ or PHP 8.3.37+.
1. Should you move your PrestaShop 9.2.1 store to PHP 8.6.0 because of the security flaws?
The clear answer is NO to PHP 8.6.0 in production for now, and YES, urgently, to the PHP 8.4.28 / 8.5.13 minor fixes released the same day (November 19, 2026). All the critical flaws, including remote code execution through file-based sessions (phpAfterShell) and PHP-FPM request smuggling, were fixed at the same time on the active branches.
| Your current PHP version | Recommended action for PrestaShop 9.2.1 | Security status (Nov. 2026) |
|---|---|---|
| PHP 8.5.x (≤ 8.5.12) | Update right away to PHP 8.5.13+ | Recommended & fully compatible |
| PHP 8.4.x (≤ 8.4.27) | Update right away to PHP 8.4.28+ | Recommended & very stable |
| PHP 8.3.x (≤ 8.3.36) | Update to PHP 8.3.37+ (security fixes until December 31, 2027) | Safe once patched |
| PHP 8.2.x | Move urgently to 8.2.36+, then migrate to 8.4/8.5 (end of life on December 31, 2026) | End of life imminent |
| PHP 8.1 | End of life (no more patches!): migrate to PHP 8.4.28+ or 8.5.13+ | Vulnerable, action required |
| PHP 8.6.0 | Staging and module testing only (installer blocked & 860 deprecations) | Too early for production |
Also upgrade your store from PrestaShop 9.2.0 to 9.2.1 (security maintenance release) and audit your third-party modules with a dedicated tool such as our PrestaShop Security Scanner.
Official sources: PHP 8.5.13 changelog (php.net) and security advisories GHSA-fm2m-fjf5-v3cp (CVE-2026-126714), GHSA-658j-r8rw-q6mx (CVE-2026-115560) and GHSA-qc49-hpvq-g2w6 (CVE-2026-129289).
2. Our real-world test protocol and results: PrestaShop 9.2.1 on PHP 8.6.0
We tested a PrestaShop 9.2.1 store (Symfony v6.4.50, Twig v3.24.0, Doctrine ORM ^2.15, Hummingbird theme) directly on the official PHP 8.6.0 binary (Zend Engine v4.6.0, OPcache v8.6.0).
- Composer dependencies (
composer install): succeeded without forcing (RC=0) becausecomposer.jsonrequires"php": ">=8.1". - Zend syntax check (
TOKEN_PARSE):5,972PHP files parsed inclasses/,controllers/andsrc/in0.9 s→ 0 syntax errors. - PrestaShop 9.2.1 installer: blocked out of the box on PHP 8.6.0 by
install-dev/install_version.php(_PS_INSTALL_MAXIMUM_PHP_VERSION_ = '8.5',80599) with the message: “Your server is running PHP 8.6.0, but PrestaShop requires a PHP version between PHP 8.1 and PHP 8.5.” - Boot & Front / Back Office routes (installed under PHP 8.5.12, then switched to PHP 8.6.0):
- Cold Symfony boot:
FrontKernelin9.663 s,AdminKernelin7.518 s. - 8 Front Office routes (Home, Category, Product page, Search, Cart, Checkout, Login, Sitemap) and the Back Office login page: all HTTP 200 with
display_errors = Off.
- Cold Symfony boot:
3. The 3 PHP 8.6 deprecations we found (860 lines under E_ALL)
spl_object_hash()deprecated as of PHP 8.6 (replaced byspl_object_id()): 794 occurrences inclasses/Smarty/SmartyLazyRegister.php(line 66), 6 inDoctrine MappingDriverChain(line 101) and 6 inContainerRepositoryFactory(line 82).mb_regex_encoding()andmb_split()deprecated: 7 occurrences each invendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php(lines 47, 56, 65).nullarray offsets:classes/Cart.php(lines 1387, 1391, 1397) andmodules/ps_facetedsearch/src/Filters/Converter.php(lines 414 and 446).
Critical trap in Debug mode: with display_errors = On, these Deprecated: notices are printed before the HTTP headers and trigger Warning: session_start(): Session cannot be started after headers have already been sent in CartController.php and Tools.php:228, breaking sessions and redirects.
4. Measured benchmark: PHP 8.3.30 vs PHP 8.5.12 vs PHP 8.6.0
Measured on the same PrestaShop 9.2.1 store (OPcache on, display_errors = Off, 2 warm-up requests then 8 measurements):
| PHP version | Home (average) | Home (median) | Product page (average) | Product page (median) |
|---|---|---|---|---|
| PHP 8.3.30 | 380.5 ms | 371.4 ms | 224.1 ms | 221.7 ms |
| PHP 8.5.12 | 247.6 ms | 250.3 ms | 70.3 ms | 74.3 ms |
| PHP 8.6.0 | 178.8 ms (-53.0%) | 133.5 ms | 63.2 ms (-71.8%) | 45.3 ms |
5. Help with PrestaShop & PHP security updates
Need to secure your PrestaShop 9.2.1 store against the recent PHP flaws, check your modules' compatibility or move to PHP 8.4/8.5 without downtime? Discover Genisoft, our PrestaShop web agency or contact our technical support.
FAQ: PrestaShop 9.2.1, PHP 8.6.0 and the November 2026 PHP flaws
Can a PrestaShop 9.2.1 store move to PHP 8.6.0 to fix the recent PHP flaws?
Not for production right now: the PrestaShop 9.2.1 installer blocks PHP 8.6, and the core (SmartyLazyRegister.php, Smarty, Doctrine, Cart) generates 860 deprecations that break sessions in Debug mode. To secure your store right away against the 18 flaws of November 19, 2026 (including CVE-2026-126714), update to PHP 8.5.13+, 8.4.28+ or 8.3.37+.
Does PrestaShop 9.2.1 fix PHP flaws such as CVE-2026-126714?
PrestaShop 9.2.1 is a maintenance release of the PrestaShop application, but flaws such as phpAfterShell (CVE-2026-126714) or PHP-FPM request smuggling (CVE-2026-129289) come from the server's PHP engine. You therefore need both PrestaShop 9.2.1 AND a patched server PHP version (8.5.13+, 8.4.28+ or 8.3.37+).
How much faster is PHP 8.6.0 on PrestaShop 9.2.1?
In our local benchmark with OPcache on, PHP 8.6.0 cuts the average home page response time from 380.5 ms (PHP 8.3.30) to 178.8 ms (-53.0%), and the product page from 224.1 ms to 63.2 ms (-71.8%).