CVE-2026-135248: MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL
MISP contains a vulnerability in its password reset (forgot password) functionality where the base URL used to construct the reset link sent by email could be derived from the HTTP request's Host header rather than from an explicitly configured value.
An unauthenticated attacker can send a crafted request with a malicious Host header. If the application's base URL was not explicitly configured (MISP.baseurl or MISP.externalbaseurl), the bootstrap would derive it from the request, and the resulting password reset email would contain a link pointing to the attacker-controlled domain. When the victim clicks the link, they are directed to the attacker's site, enabling credential phishing or token theft.
Preconditions: - The password reset feature (allowpasswordforgotten) is enabled - MISP.baseurl and MISP.externalbaseurl are not explicitly set to trusted values - The victim initiates or is targeted for a password reset
Impact: - Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance - Potential credential compromise if the victim enters credentials on the attacker's site - No direct compromise of the MISP server itself
Affected: MISP versions prior to 2.5.52
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.5.52 - Configuration
Configure MISP.baseurl or MISP.external_baseurl explicitly with a trusted base URL for password reset links.
MISP MISP.baseurl or MISP.external_baseurl = Explicitly configured trusted base URL