CRITICAL🇵🇱 Wersja polska

CVE-2025-70948

CVSS 9.3v3.1pub. 2026-03-05upd. 2026-04-27

A host header injection vulnerability in the mailer component of @perfood/couch-auth v0.26.0 allows attackers to obtain reset tokens and execute an account takeover via spoofing the HTTP Host header.

🤖 AI Analysis
How it works

An attacker sends an HTTP request with a modified 'Host' header pointing to a server controlled by the attacker. The @perfood/couch-auth mailer component uncritically uses this header value when generating the password reset link sent in an email message to the user. When the victim clicks the crafted link, the password reset token is sent to the attacker's server. Possessing the token, the attacker can reset the password and take over the victim's account.

Impact

An attacker can take full control of any application user's account who uses the password reset functionality. This leads to complete compromise of account confidentiality and integrity.

Mitigation & patch

Apply patches available from the vendor according to the references. It is recommended to monitor the project repository on GitHub (https://github.com/perfood/couch-auth) and the npm package page to obtain the updated version. As a temporary measure, it is worth considering validation and enforcement of allowed 'Host' header values at the server or reverse proxy level (e.g., through a whitelist of allowed hosts).

Who is affected

@perfood/couch-auth library in version 0.26.0 (npm package). Applications using this library for authentication and password reset handling.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References