levlaz braindump CVE-2025-61132
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInitiate password reset for victim account
-
DeliveryInject attacker-controlled Host header
-
ExploitPoisoned reset link emailed to victim
-
ExecutionVictim clicks link leaking token
-
ImpactAttacker resets password, takes over account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password change verification
|
| Exploitation Conditions | Exploitation requires the braindump deployment to run with Flask's SERVER_NAME unset (the default for v0.4.14), so that url_for(_external=True) in the password-reset flow derives the link host from the incoming Host header. The attacker must be able to trigger a password reset for a known victim account (requiring knowledge of the victim's registered email/username) and supply a forged or injected Host header. The key limiting factor is that this is a classic password-reset-poisoning chain: the victim must click the poisoned reset link delivered to their inbox for the token to leak, so success depends on victim interaction. Setting a fixed SERVER_NAME (or otherwise validating the Host header) removes the condition entirely. |
| Impact | Signals conflict, and on balance this is a moderate, not urgent, issue. The NVD CVSS of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H) is internally inconsistent with the described impact: the description states 'account takeover,' which implies full compromise of the victim account (high confidentiality and integrity loss), yet the vector records C:N and only I:L with A:H - these should be reconciled with the vendor/NVD. EPSS is low at 0.37% (31st percentile), indicating no broad exploitation signal, and the CVE is NOT on CISA KEV, so there is no confirmed active exploitation. The vuln.today decision label is 'this_week' (not act_now or emergency). Reference material includes a GitHub gist and a Google Drive document that appear to be proof-of-concept writeups, plus direct links to the vulnerable source lines - a public PoC reference exists, but the input does not confirm it as working exploit code. Critically, the real limiter is the affected product: levlaz braindump is an obscure, small-footprint open-source note-taking application, so even a classic account-takeover primitive carries low aggregate real-world risk. This is a legitimate, patch-worthy web vulnerability but reads as a high-CVSS-but-low-real-world-exposure issue given deployment scale and the absence of exploitation evidence. |
| Exploit ScenarioDerived | An attacker submits a password-reset request for a victim's account while sending a forged Host header pointing to an attacker-controlled domain; because the Flask app calls url_for(_external=True) without a fixed SERVER_NAME, the generated reset link in the victim's email embeds the attacker's host. When the victim clicks the link, the valid reset token is delivered to the attacker's server, who then completes the reset and takes over the account. Public PoC reference material (a gist and a hosted document) describes this flow, but the input does not confirm it as a working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Password-reset poisoning in levlaz braindump 0.4.14 lets a remote attacker influence the host used in outgoing password-reset links and, if the victim clicks the poisoned link, capture the reset token and take over the account. The flaw only applies where the Flask deployment runs with SERVER_NAME unset - the default for v0.4.14 - so url_for(_external=True) derives the link host from the attacker-supplied Host header. No CISA KEV listing or confirmed in-the-wild exploitation has been reported, EPSS is low at 0.37% (31st percentile), and success depends on victim interaction with the forged-Host reset email, which is why the assessed impact (CVSS 7.1-class, AV:N/AC:L/PR:N/UI:R) is treated as a moderate, this-week item rather than an emergency.
RemediationAI
No vendor-released fixed version is identified in the available data, so the primary mitigation is configuration: set a fixed Flask SERVER_NAME (for example SERVER_NAME = 'braindump.example.com' and PREFERRED_URL_SCHEME = 'https') so url_for(_external=True) no longer derives the reset-link host from the request, which removes the vulnerable condition entirely; this requires the application to be served under exactly that hostname, so alternate hostnames or multi-tenant access will break unless they are aligned. In addition, reject or rewrite requests whose Host header is not on an explicit allowlist, strip or validate X-Forwarded-Host at the reverse proxy, and ensure the proxy passes a canonical Host value - note that these proxy-side controls only hold if every ingress path to the app is covered, and a misconfigured or bypassed proxy restores the exposure. Because the recovery flow itself remains the weak point (CWE-620), operators should also consider invalidating reset tokens on password change and keeping them single-use and short-lived, and should treat any reset email whose link points to an unexpected domain as a compromise indicator. Track the upstream project at https://github.com/levlaz/braindump for a patched release; background on the attack pattern is at https://portswigger.net/web-security/host-header/exploiting/password-reset-poisoning.
Affected ProductsAI
levlaz braindump version 0.4.14 is the affected release, specifically Flask deployments that do not set SERVER_NAME (the documented default for this version) and that expose the password-reset endpoint at app/auth/views.py lines 131-148 with the mail template app/templates/auth/email/reset_password.html lines 1-8. No CPE identifiers were supplied with this record, so affected installations must be identified by version and configuration rather than by CPE matching. Relevant references include the upstream source at https://github.com/levlaz/braindump/blob/9640dd03f99851dbd34dd6cac98a747a4a591b01/app/auth/views.py#L131-L148 and the corresponding template at https://github.com/levlaz/braindump/blob/9640dd03f99851dbd34dd6cac98a747a4a591b01/app/templates/auth/email/reset_password.html#L1-L8; a public write-up and gist are linked at https://drive.google.com/file/d/1FmkctLdOTGMdy6GgLaTzfxemdVDeiA7J/view and https://gist.github.com/BrookeYangRui/94c3bee0c2cbc1ed81a21d4448550c21, and the exploitation technique is documented at https://portswigger.net/web-security/host-header/exploiting/password-reset-poisoning.
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
braindump is a small Flask (Python) note-taking application; the password-reset flow in app/auth/views.py (lines 131-148) builds the reset URL with url_for(_external=True) and the resulting link is rendered by app/templates/auth/email/reset_password.html (lines 1-8). Flask only uses a fixed SERVER_NAME for externally-qualified URLs when that config value is set; otherwise it falls back to the request's Host header (and honouring proxy headers such as X-Forwarded-Host where configured), so the generated absolute URL is attacker-influenced. The CWE assigned to this record is CWE-620 (Unverified Password Change), reflecting that the credential change is driven by a recovery channel whose origin was never validated; the practical pattern is the well-documented Host header password-reset poisoning technique described in the linked PortSwigger material. The trigger is not otherwise described in the available sources: what the evidence confirms is that the vulnerable code path generates external reset links from request-derived host data, that the deployment condition is SERVER_NAME being unset, and that victim interaction with the emailed link is required for the token to leak. Whether any particular reverse-proxy configuration rewrites or sanitises the Host header in a given installation is unverified.
Know when Flask gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Attacker needs no account (PR:N) and only a forged Host header (AC:L), but the victim must click the poisoned reset link (UI:R); resulting account takeover yields full C/I/A loss.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A Host Header Injection vulnerability in the password reset component in levlaz braindump v0.4.14 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-61132 is a high-severity password-reset poisoning flaw in levlaz braindump 0.4.14 that could allow an attacker to hijack user accounts. Leadership should care because successful exploitation could lead to unauthorized access to sensitive information and potential data breaches, affecting the confidentiality and integrity of user accounts.
Set SERVER_NAME in the Flask configuration to a fixed, trusted hostname; enforce strict Host header validation; monitor password-reset tokens and user account activity for anomalies.
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
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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 axewater sharewarez v2.4.3 allows a remote attacker to rewrite the host used in emailed rese
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