All vulnerabilities

npm

CVE-2026-140423

Haraka before 3.4.2 Authentication-Results Header Injection via SMTP AUTH Username

Severity
Medium 6.9
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
3.4.2
Weakness
Injection (CWE-74)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Haraka before 3.4.2 contains a header injection vulnerability in plugins/auth/auth_base.js check_user() that writes failed SMTP AUTH usernames into Authentication-Results. Unauthenticated SMTP clients can inject clauses like dkim=pass, spf=pass and dmarc=pass under the server's authserv-id, spoofing authentication results for every later message in the session.

From the CVE Program.

Affected software

SoftwareAffected versions
harakanpm · osv:npm:haraka
  • Every version before 3.4.2

About haraka

Weekly downloads (npm)
4,705npm, 1 Dec 2026

This is the only vulnerability in haraka in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140423