Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit password reset with spoofed Host header
-
DeliveryServer builds reset link from attacker host
-
ExploitVictim clicks poisoned link in email
-
ExecutionReset token delivered to attacker
-
ImpactAttacker resets password and takes over account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a sharewarez v2.4.3 deployment whose Flask configuration does NOT set a fixed SERVER_NAME, so that the password-reset route's url_for(_external=True) call derives the link host from the incoming request's Host header - this is the default-vulnerable condition described. The attacker must be able to initiate a password reset for a target account (knowing the victim's registered identifier/email) and must control or spoof the Host header reaching the application. The principal limiting factor is victim interaction: the attack only succeeds if the targeted user opens the reset email and clicks the poisoned link so the token is transmitted to the attacker-controlled host; it is further limited where a reverse proxy or the deployment pins SERVER_NAME / validates the Host header, which neutralizes the link-rewriting. |
| Impact | Signals point to a genuine but non-urgent, low-exposure issue. The input CVSS of 7.1 (High) is internally inconsistent with the described flaw: the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H asserts no confidentiality impact (C:N) and high availability impact (A:H), yet the described outcome is password-reset poisoning leading to account takeover - which is fundamentally a confidentiality/integrity compromise with no plausible availability effect. This mismatch suggests the published metrics were not derived from the actual mechanism (see assessed_cvss_vector for an independent scoring). EPSS is low at 0.45% (39th percentile), the CVE is NOT in CISA KEV, and the vuln.today decision label is 'this_week' rather than act_now/emergency - all consistent with a real-but-not-actively-exploited finding. The deciding factor against treating this as a top priority is deployment footprint: axewater/sharewarez is an obscure open-source project, so real-world risk is limited regardless of the High label. The mitigating practical constraint is that classic password-reset poisoning requires the victim to click the attacker-poisoned link, which the published PR:L/UI:N vector does not capture. |
| Exploit ScenarioDerived | An attacker submits a password-reset request for a victim's account while supplying a malicious Host header; because sharewarez calls Flask's url_for(_external=True) with no fixed SERVER_NAME, the generated reset link embeds the attacker-controlled host. The victim receives the reset email and, on clicking the link, sends the valid reset token to the attacker's server, enabling the attacker to complete the reset and take over the account. A public PoC reference exists (a GitHub gist and a Google Drive write-up); it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Password reset poisoning in axewater sharewarez v2.4.3 allows a remote attacker to rewrite the host used in emailed reset links, so a victim's reset token is delivered to an attacker-controlled domain and can then be redeemed for account takeover. The flaw is reachable unauthenticated in the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N), but success depends on the victim opening the email and clicking the poisoned link, and only manifests on deployments that leave Flask's SERVER_NAME unset - the default described in the advisory. Exposure signal is modest: EPSS is 0.45% (39th percentile), there is no CISA KEV listing, and the supplied references - a gist and a hosted file - appear to be proof-of-concept/write-up material that is not verified as working exploit code; the upstream project has not published a fixed version in the provided data.
RemediationAI
No vendor-released patch or fixed version is identified in the available data, so remediation is configuration-based. Set a fixed SERVER_NAME in the Flask configuration (or otherwise generate reset links from a hardcoded, trusted base URL instead of url_for(_external=True)) - the trade-off is that SERVER_NAME pins a single canonical host and will break URL generation for any legitimate multi-domain, multi-tenant or alternate-port deployment, which then needs per-environment overrides. In parallel, enforce a Host header allowlist at the reverse proxy and reject or normalize requests bearing unknown Host values before they reach the app; this closes the injection path even on unpatched code, but requires maintenance of the allowlist as hostnames change and can break health checks or internal service-to-service calls that use IP-based Host values. Validate the Host header within the application as defense in depth, and consider binding reset tokens to the requesting session or requiring re-authentication on redemption, which reduces but does not eliminate the value of a leaked token. Until a fix is published, monitor reset-email logs for links whose host does not match the canonical domain, and advise users to verify the link host before clicking. Track the vendor project at https://github.com/axewater/sharewarez for a patched release; the code references at https://github.com/axewater/sharewarez/blob/d04c90b7dc3fbae1596f731d1b168d3fb9fdd2df/modules/routes_login.py#L188-L217 and https://github.com/axewater/sharewarez/blob/d04c90b7dc3fbae1596f731d1b168d3fb9fdd2df/modules/utils_smtp.py#L191-L206 identify the exact functions to amend, and the exploitation pattern is described at https://portswigger.net/web-security/host-header/exploiting/password-reset-poisoning.
Affected ProductsAI
axewater sharewarez v2.4.3 is the affected release; the vulnerable logic is in modules/routes_login.py lines 188-217 (password reset route) and modules/utils_smtp.py lines 191-206 (mail/token delivery), referenced at commit d04c90b7dc3fbae1596f731d1b168d3fb9fdd2df. The condition is deployment-dependent: instances are exposed when Flask configuration leaves SERVER_NAME unset and no front-end proxy validates or rewrites the Host header; deployments pinning SERVER_NAME or enforcing a Host allowlist at the proxy are not affected by the link-rewriting. No CPE identifiers were supplied with this record, and no fixed release version is listed in the available data. Background on the exploitation pattern is at https://portswigger.net/web-security/host-header/exploiting/password-reset-poisoning, with the code references at https://github.com/axewater/sharewarez/blob/d04c90b7dc3fbae1596f731d1b168d3fb9fdd2df/modules/routes_login.py#L188-L217 and https://github.com/axewater/sharewarez/blob/d04c90b7dc3fbae1596f731d1b168d3fb9fdd2df/modules/utils_smtp.py#L191-L206.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
sharewarez is a Python/Flask web application, and the reset flow is implemented in modules/routes_login.py (lines 188-217) with mail delivery in modules/utils_smtp.py (lines 191-206). When Flask's SERVER_NAME configuration value is not set, url_for(..., _external=True) builds absolute URLs from the Host header of the incoming request rather than from a trusted, configured hostname. An attacker who submits a password-reset request for a victim's account while supplying or spoofing a Host header (directly, or via a proxy that forwards it unvalidated) causes the generated reset link to point at the attacker's domain; when the victim clicks it, the reset token is transmitted to the attacker, who can then use it against the genuine application. Note a classification discrepancy worth flagging: the record carries CWE-94 (code injection) and tags of RCE/code injection, but nothing in the description or the referenced source lines supports code execution - the mechanism maps instead to Host header injection leading to weak password-recovery design (CWE-644/CWE-640 class). Likewise, the published CVSS vector lists PR:L while the assessed vector uses PR:N/UI:R; the practical prerequisites are unauthenticated initiation of a reset for a known account plus victim click-through, bounded by any reverse proxy or configuration that pins SERVER_NAME or validates the Host header.
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Reset can be triggered unauthenticated (PR:N) but token theft needs the victim to click the poisoned link (UI:R); successful takeover fully compromises the account (C:H/I:H) with no availability impact (A:N).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A Host Header Injection vulnerability in the password reset component in axewater sharewarez v2.4.3 allows remote attackers to conduct password reset poisoning and account takeover via manipulation of the Host header when Flask's url_for(_external=True) generates reset links without a fixed SERVER_NAME.
Executive ViewAI
CVE-2025-61136 is a high-severity vulnerability in the axewater sharewarez platform (v2.4.3) that enables remote, unauthenticated attackers to poison password reset links and take over user accounts. The risk is concentrated on deployments that have not configured Flask's SERVER_NAME, which the advisory describes as the default. Leadership should care because successful exploitation can lead to unauthorized access to sensitive data and administrative functions, eroding customer trust and potentially causing regulatory issues.
Configure Flask's SERVER_NAME environment variable to a fixed, trusted domain; implement host header validation at the application or reverse proxy level; enforce strict validation of the Host header in password reset requests; monitor for anomalous reset link generation or redemption patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Path traversal and extension bypass in Flask-Reuploaded file upload library. Allows uploading files with arbitrary exten
Reflected XSS in changedetection.io versions prior to 0.54.4 allows unauthenticated remote attackers to inject malicious
changedetection.io versions before 0.54.1 are vulnerable to reflected cross-site scripting (XSS) via the RSS endpoint, w
Changedetection.io versions before 0.53.2 allow unauthenticated attackers to read arbitrary files from the application d
Flask is a lightweight WSGI web application framework. Rated high severity (CVSS 7.5), this vulnerability is remotely ex
The Pallets Project Flask before 1.0 is affected by: unexpected memory usage. Rated high severity (CVSS 7.5), this vulne
The Pallets Project flask version Before 0.12.3 contains a CWE-20: Improper Input Validation vulnerability in flask that
Password-reset poisoning in levlaz braindump 0.4.14 lets a remote attacker influence the host used in outgoing password-
Cross-site request forgery in the CISA Malcolm network traffic analysis platform lets a remote attacker who lures the op
Missing authentication checks on Indico's event series management API endpoint allows unauthenticated attackers to view
The Flask Micro code-editor plugin for WordPress through version 1.0.0 contains a stored cross-site scripting vulnerabil
Cross-site scripting in Indico prior to version 3.3.10 allows authenticated users to inject malicious scripts through ma
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB