CVE-2026-135248

MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL

Published Nov 23, 2026 CVSS 4.0 · 5.1 Medium EPSS n/a KEV · Not listed
Description
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.external_baseurl), 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 (allow_password_forgotten) is enabled
- MISP.baseurl and MISP.external_baseurl 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

Analysis

AI-generated

Technical impact

The vulnerability arises when the password reset link in emails is built from the HTTP request’s Host header instead of a trusted configuration value. An attacker can forge a Host header on a request to the forgot‑password endpoint, causing the reset link to point to an attacker‑controlled site. If a victim follows the link and enters credentials, the attacker can harvest them. The flaw does not let the attacker compromise the MISP server directly; it is a phishing vector that can lead to credential theft.

Affected Systems

This issue affects MISP installations running any version earlier than 2.5.52. The vendor, MISP, specifies that the vulnerability exists when the base URL is not explicitly configured via MISP.baseurl or MISP.external_baseurl and the password reset feature is enabled.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. EPSS data is unavailable, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited current exploitation risk. The likely attack vector involves an unauthenticated attacker sending a crafted HTTP request with a malicious Host header to the password reset endpoint; no special privileges or prior access to the server are required, but the feature must be enabled and no trusted base URL must be configured.

Remediation

Vendor Solution

The fix ensures that password reset links are constructed exclusively from explicitly configured base URLs (MISP.baseurl or MISP.external_baseurl). A new internal flag (BaseurlFromRequest) marks base URLs derived from the HTTP request as untrusted for outbound mail. If no trusted base URL is available, the reset email is not sent and an error is logged. An empty external_baseurl now correctly falls back to the configured baseurl rather than the request-derived value.


OpenCVE Recommended Actions

  • Apply the MISP 2.5.52 or later release that patches base URL construction.
  • Configure the instance with a trusted base URL by setting MISP.baseurl or MISP.external_baseurl and enable BaseurlFromRequest to prevent use of request‑derived URLs.
  • If the patch is not yet available, disable the password reset functionality (set allow_password_forgotten to false) or restrict access to the reset endpoint at the network perimeter.

Generated by OpenCVE AI on November 23, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.external_baseurl), 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 (allow_password_forgotten) is enabled - MISP.baseurl and MISP.external_baseurl 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
Title MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL
First Time appeared Misp
Misp misp
Weaknesses CWE-20
CWE-601
CPEs cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 23, 2026, 3:42 PM
Reserved
Nov 23, 2026, 3:42 PM
Status
Deferred
Published
Nov 23, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM