{"api_version":"1","generated_at":"2026-11-23T18:34:18+00:00","cve":"CVE-2026-135248","urls":{"html":"https://cve.report/CVE-2026-135248","api":"https://cve.report/api/cve/CVE-2026-135248.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135248","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135248"},"summary":{"title":"MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL","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.\n\nAn 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.\n\nPreconditions:\n- The password reset feature (allow_password_forgotten) is enabled\n- MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values\n- The victim initiates or is targeted for a password reset\n\nImpact:\n- Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance\n- Potential credential compromise if the victim enters credentials on the attacker's site\n- No direct compromise of the MISP server itself\n\nAffected: MISP versions prior to 2.5.52","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-23 16:17:43","updated_at":"2026-11-23 16:17:44"},"problem_types":["CWE-20","CWE-601","CWE-601 CWE-601 Open Redirect","CWE-20 CWE-20 Improper Input Validation"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"5.1","severity":"MEDIUM","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":5.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"5.1","severity":"MEDIUM","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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b","name":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135248","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135248","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MISP","product":"MISP","version":"affected 2.5.52 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ENISA","lang":"en"},{"source":"CNA","value":"iglocska","lang":"en"},{"source":"CNA","value":"Claude Opus 5.5","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["app/Model/User.php","app/Config/bootstrap.default.php"],"product":"MISP","programFiles":[],"repo":"https://github.com/MISP/MISP","vendor":"MISP","versions":[{"lessThan":"2.5.52","status":"affected","version":"0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"descriptions":[{"lang":"en","value":"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.\n\nAn 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.\n\nPreconditions:\n- The password reset feature (allow_password_forgotten) is enabled\n- MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values\n- The victim initiates or is targeted for a password reset\n\nImpact:\n- Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance\n- Potential credential compromise if the victim enters credentials on the attacker's site\n- No direct compromise of the MISP server itself\n\nAffected: MISP versions prior to 2.5.52"}],"impacts":[{"capecId":"CAPEC-60","descriptions":[{"lang":"en","value":"CAPEC-60 Leverage Executable Content"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"format":"SSVC","other":{"content":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:45:35Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","description":"CWE-601 Open Redirect","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T15:42:34.034Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"}],"solutions":[{"lang":"en","value":"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."}],"title":"MISP Password Reset Link Host Header Injection Enables Phishing via Untrusted Base URL","x_gcve":[{"extensions":{"bcp-05-x-01":{"ai_annotations":[{"ai_level":"generated","description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","gna_source":1,"models":[{"gna_source":1,"identifier":"qwen3.8:27b","name":"qwen3.8:27b","source":"ollama"}],"review_status":"full","scope":"record","tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"]}]},"bcp-05-x-02":{"x_patch2vuln":{"assumptions":["The forgot-password endpoint is accessible without authentication; this is inferred from the method signature (takes email and IP) and the feature description, but no explicit authentication check is visible in the patch.","The affected version range is assumed to be all versions prior to 2.5.52; the explicit context lists affected_version as '0' which is treated as a placeholder for 'all prior versions'.","CAPEC-60 is selected as the closest plausible attack pattern; no CAPEC specifically addresses Host header injection for outbound link construction, so this mapping carries uncertainty.","The CVSS SC:L rating assumes the primary impact is potential credential phishing of the end user; if the attacker could also forge the reset token flow to directly set a password, the impact could be higher, but the patch evidence does not confirm that scenario.","AT:N is assumed because the attacker does not need to set up special infrastructure beyond having a domain to receive the redirected traffic; this is a minimal requirement inherent to any phishing attack."],"capecRationale":[{"capecId":"CAPEC-60","rationale":"The attacker leverages the application's processing of the Host header (executable content in the sense that it is interpreted and used to generate an outbound URL) to redirect the password reset link to an attacker-controlled domain. This is the closest CAPEC to a Host header injection / open redirect in an outbound email context. Uncertainty: no CAPEC specifically covers Host header manipulation for outbound link construction; CAPEC-60 is selected as the best available match describing an attacker exploiting application-processed input to achieve an unintended output."}],"commit":"75a0a43ddef08e3b48df303891cf235a624e594b","confidence":"medium","credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"},{"lang":"en","type":"tool","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N: The attack is performed over the network via a crafted HTTP request. AC:L: The attacker only needs to send a request with a modified Host header; no race conditions or complex timing required. AT:N: No need to bypass or prepare against specific mitigations. PR:N: The forgot-password endpoint is accessible without authentication. UI:A: The victim must actively click the malicious link in the received email for the attack to succeed. VC/VI/VA:N: The MISP server itself is not directly compromised; no data is exfiltrated from or modified on the server. SC:L: The subsequent impact is on the user, whose credentials may be phished via the attacker-controlled URL. SI/SA:N: No integrity or availability impact on the user or their systems beyond the potential credential theft captured in SC.","fixSummary":"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.","generatedAt":"2026-11-23T09:45:35.757528Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"medium","model":"qwen3.8:27b","score":7}],"selectedModel":"qwen3.8:27b","selectionMethod":"deterministic-consensus-v1","selectionNotice":"The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."},"patchSha256":"277b636cb23fc53d70e44584690cb4940fa9438c10a82c0108eb534d63794b56","patchSummary":"In bootstrap.default.php, a new Configure key 'BaseurlFromRequest' is set to true when the base URL is derived from SERVER_NAME/SERVER_PORT. In User.php (forgot method), the base URL resolution logic is replaced: it first checks MISP.external_baseurl, then checks if BaseurlFromRequest is true (in which case it refuses to send the email and logs an error), otherwise falls back to MISP.baseurl. If no valid base URL is found, the function returns false without sending mail. Server.php updates the setting description to document the new requirement. A new test file (PasswordResetBaseurlTest.php) with six test cases validates all base URL resolution scenarios including request-derived rejection, configured URL usage, external URL preference, and empty-external fallback.","patchTruncated":false,"patches":[{"commit":"75a0a43ddef08e3b48df303891cf235a624e594b","date":"Mon, 16 Nov 2026 17:19:04 +0100","patchSha256":"277b636cb23fc53d70e44584690cb4940fa9438c10a82c0108eb534d63794b56","retrievedAt":"2026-11-23T09:44:51.478700Z","source":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b","sourceUrl":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b","subject":"fix: [security] Password reset links are built only from a"}],"source":"https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:45:35Z","version":"2.0.3"},"subject":"fix: [security] Password reset links are built only from a","weaknessRationale":[{"cweId":"CWE-601","rationale":"The password reset link's base URL could be influenced by the attacker-controlled Host header, effectively creating an open redirect in the email link to an attacker-chosen domain. The application did not validate that the base URL used for outbound links was a trusted, configured value."},{"cweId":"CWE-20","rationale":"The application accepted and used the HTTP Host header value (via SERVER_NAME) to construct outbound URLs without validating that it matched a trusted, pre-configured domain. The request-derived value was treated as equally authoritative as an administrator-configured setting."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (75a0a43ddef08e3b48df303891cf235a624e594b): fix: [security] Password reset links are built only from a","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"],"timestamp":"2026-11-16T16:19:04Z","type":"fix-developed"},{"description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","id":"evt-fix-available-1","references":["https://github.com/MISP/MISP/commit/75a0a43ddef08e3b48df303891cf235a624e594b"],"timestamp":"2026-11-23T09:44:51.478700Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20441"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-135248","datePublished":"2026-11-23T15:42:34.034Z","dateReserved":"2026-11-23T15:42:18.646Z","dateUpdated":"2026-11-23T15:42:34.034Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 16:17:43","lastModifiedDate":"2026-11-23 16:17:44","problem_types":["CWE-20","CWE-601","CWE-601 CWE-601 Open Redirect","CWE-20 CWE-20 Improper Input Validation"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":5.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-23T09:45:35Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"135248","Ordinal":"1","Title":"MISP Password Reset Link Host Header Injection Enables Phishing ","CVE":"CVE-2026-135248","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"135248","Ordinal":"1","NoteData":"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.\n\nAn 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.\n\nPreconditions:\n- The password reset feature (allow_password_forgotten) is enabled\n- MISP.baseurl and MISP.external_baseurl are not explicitly set to trusted values\n- The victim initiates or is targeted for a password reset\n\nImpact:\n- Phishing: victim is redirected to an attacker-controlled URL instead of the legitimate MISP instance\n- Potential credential compromise if the victim enters credentials on the attacker's site\n- No direct compromise of the MISP server itself\n\nAffected: MISP versions prior to 2.5.52","Type":"Description","Title":"MISP Password Reset Link Host Header Injection Enables Phishing "}]}}}