CVEfocus › CVE database › CVE-2026-135248

CVE-2026-135248MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL

CVSS 5.1 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2026-11-23Updated 2026-11-24Assigner: CIRCL

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

CWE-20CWE-601

What to do

None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

What the vendor says

As published in the CVE record by CIRCL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.