Servers and applications
GHSA-2cr4-vw9p-pjvf
Client IP address can be spoofed through the X-Forwarded-For header
- Severity
- High 7.3
- Published
- 18 Aug 2026
- Last changed
- 18 Aug 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 8.2.8, 9.1.5
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L- Sources
- Project advisories (GitHub)
Description
This is an IP address spoofing issue that can lead to access control bypass.
When a shop runs behind a reverse proxy, a load balancer or a CDN, the visitor's real IP address is passed to PrestaShop through an HTTP header. PrestaShop read the wrong end of that header, the part controlled by the visitor, rather than the part appended by the shop's own proxy.
Any visitor could therefore make the shop believe they were connecting from any address of their choosing, which undermines every feature relying on it: the maintenance-mode IP allow-list could be bypassed, security and audit logs could be filled with forged addresses, and third-party protections such as geolocation blocking, fraud scoring or rate limiting could be evaded.
Shops served through a reverse proxy, a load balancer or a CDN are impacted, which covers most production deployments. Shops where visitors connect directly to the web server are not affected. No account and no user interaction are needed.
Workarounds
The issue can be fully mitigated at the proxy level, and we recommend doing so in addition to upgrading. Your front-end proxy must overwrite the forwarding header with the address it actually sees, instead of passing on whatever the visitor sent.
Affected software
| Software | Affected versions |
|---|---|
PrestaShopServers and applications · github:prestashop/prestashop |
|
About PrestaShop
open source e-commerce solution
- Share of websites with a known CMS
- 0.7%W3Techs, Nov 2026
- Monthly downloads (Packagist)
- 4,181Packagist, 15 Nov 2026
- Total downloads (Packagist)
- 28,233Packagist, 15 Nov 2026
- Docker Hub pulls
- 8,056,915Docker Hub, 15 Nov 2026
- GitHub stars
- 9,256GitHub, 15 Nov 2026
- Forks
- 5,058GitHub, 15 Nov 2026
- Latest release
- 9.2.1GitHub, 15 Nov 2026
- Released
- 9 Nov 2026GitHub
- Developer
- PrestaShop SAWikidata
- License
- Open Software LicenseWikidata
- Written in
- PHPWikidata
- First published on GitHub
- 19 Nov 2012GitHub
Website Source code Docker image Package
Vulnerabilities in PrestaShop
- In our list
- 115
- Published in the last 12 months
- 28
- Critical, last 12 months
- 0
- High, last 12 months
- 19
- Known exploited
- 0
- CVE-2026-129957PrestaShop before 8.2.9 and 9.2.1 Path Traversal RCE via Theme/Module ImportHigh 8.6 16 Nov 2026
- CVE-2026-124916PrestaShop Performance Debug Configuration PHP Code InjectionMedium 5.4 9 Nov 2026
- GHSA-wrmc-gmx5-9hhcPath traversal in attachments allows file read and deletion outside the download directoryHigh 8.5 9 Nov 2026
- GHSA-r246-6gw4-pj3pCart rule usage limits can be bypassed through a race condition in order validationHigh 7.5 9 Nov 2026
- GHSA-p292-3rh4-vm4pAdmin API client holding api_client_write can grant itself any scope, leading to code executionHigh 8.8 9 Nov 2026
- GHSA-mgcf-mrg4-mcxvBack-office employees with create-only order permission can modify existing ordersMedium 4.9 9 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-2cr4-vw9p-pjvf
- github.com https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-2cr4-vw9p-pjvf