---
id: CVE-2026-84186
title: >-
  Vulnerability involving incorrect access control in the Tools::getRemoteAddr()
  function in PrestaShop, which allows the client’s IP address to be spoofed via
  the X-Forwarded-For header when the application is running behind a reverse
  pro…
summary: >-
  Vulnerability involving incorrect access control in the Tools::getRemoteAddr()
  function in PrestaShop, which allows the client’s IP address to be spoofed via
  the X-Forwarded-For header when the application is running behind a reverse
  pro…
severity: medium
cvss: 6.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-290
vendor: PrestaShop
product: PrestaShop
affected:
  - PrestaShop < 9.1.5
  - PrestaShop < 8.2.8
published: '2026-09-07'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T19:15:18.627'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84186'
references:
  - url: >-
      https://www.incibe.es/en/incibe-cert/notices/aviso/incorrect-access-control-prestashop
    label: cve-coordination@incibe.es
tags:
  - nvd
  - cve.org
epss: 0.00541
epssPercentile: 0.43046
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-08T15:02:04.131532Z'
cvssSource: cna
ingestedAt: '2026-09-08T15:33:26.988Z'
---

## Overview

Vulnerability involving incorrect access control in the Tools::getRemoteAddr() function in PrestaShop, which allows the client’s IP address to be spoofed via the X-Forwarded-For header when the application is running behind a reverse proxy, load balancer or CDN. The application incorrectly processes the IP address string and uses the address controlled by the visitor rather than the one provided by the trusted infrastructure, allowing an unauthenticated remote attacker to cause the application to interpret their connection as originating from an arbitrary IP address. This condition allows IP-based controls, such as the maintenance mode allowlist, to be bypassed, as well as enabling the forgery of security and audit logs and the evasion of third-party mechanisms that rely on the IP address, such as geolocation checks, fraud detection or request throttling.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
