MISP trusted client-supplied forwarded IP headers (such as X-Forwarded-For) without verifying that the request originated from a known proxy or that the value was a valid IP address. The configured header value was accepted as the authoritative client IP for all security-relevant functions.

An unauthenticated remote attacker could forge the forwarded header to:
- Bypass IP-based restrictions on API authentication keys
- Evade brute-force / rate-limiting protection
- Inject arbitrary values into application and ECS logs, corrupting audit trails

The vulnerability required the MISP.log_client_ip_header setting to be configured to a forwarded header (e.g. HTTP_X_FORWARDED_FOR), which is a common deployment when MISP sits behind a reverse proxy.

Affected: MISP versions prior to 2.5.52

Project Subscriptions

Vendors Products
Advisories

No advisories yet.

Fixes

Solution

The fix introduces a dedicated client-IP resolution routine that only honours the forwarded header when the request's peer address matches a newly introduced trusted-proxy list (MISP.trusted_proxies, supporting IPs and CIDR ranges). It selects the right-most address in the chain that does not belong to a trusted proxy, validates the result as a well-formed IP, and falls back to the TCP peer address (REMOTE_ADDR) when the header is absent, the request did not come from a listed proxy, or the value is not a valid IP. This prevents untrusted clients from injecting arbitrary values into IP-based security controls and logs.


Workaround

No workaround given by the vendor.

History

Mon, 23 Nov 2026 16:00:00 +0000

Type Values Removed Values Added
Description MISP trusted client-supplied forwarded IP headers (such as X-Forwarded-For) without verifying that the request originated from a known proxy or that the value was a valid IP address. The configured header value was accepted as the authoritative client IP for all security-relevant functions. An unauthenticated remote attacker could forge the forwarded header to: - Bypass IP-based restrictions on API authentication keys - Evade brute-force / rate-limiting protection - Inject arbitrary values into application and ECS logs, corrupting audit trails The vulnerability required the MISP.log_client_ip_header setting to be configured to a forwarded header (e.g. HTTP_X_FORWARDED_FOR), which is a common deployment when MISP sits behind a reverse proxy. Affected: MISP versions prior to 2.5.52
Title MISP: Client IP Spoofing via Unvalidated Forwarded Header Bypasses IP Restrictions and Brute-Force Protection
First Time appeared Misp
Misp misp
Weaknesses CWE-20
CWE-345
CPEs cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-11-23T15:41:34.090Z

Reserved: 2026-11-23T15:41:26.527Z

Link: CVE-2026-135244

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-23T16:17:43.367

Modified: 2026-11-23T16:17:43.470

Link: CVE-2026-135244

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses