AploSec / Disclosures / CVE-2026-140423

Medium 6.9ReportedFixed in 3.4.2CWE-74Multiple credited contributorsnpm

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

CVE-2026-140423 · published 2026-12-01

In plain words: this type of bug lets someone inject their own content into data the application builds (injection). A fixed release is listed.

Summary

CVE-2026-140423 affects haraka (npm) < 3.4.2: Authentication-Results header injection via SMTP AUTH username (CWE-74). Fixed in 3.4.2. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-01 by VulnCheck. Credit: Zachariah Mithani (AploSec), Matt Simerson.

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade haraka to 3.4.2 or later. Releases in the affected range (< 3.4.2) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-12-01 CVE published

References

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
haraka
Ecosystem
npm
Affected
< 3.4.2
Fixed
3.4.2
Weakness
CWE-74
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finderMatt Simersonremediation developer