AploSec / Disclosures / CVE-2026-140423
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
- Referencehttps://github.com/haraka/Haraka/security/advisories/GHSA-m346-w4v7-3x26
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/haraka-before-3.4.2-authentication-results-header-injection-via-smtp-auth-username
- Fix commithttps://github.com/haraka/Haraka/commit/c142f7d5dd4ef26568ff65bda24b529ece0504c0
- Releasehttps://github.com/haraka/Haraka/releases/tag/v3.4.2
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-140423
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-140423
- 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