CVE-2026-140423: Haraka before 3.4.2 Authentication-Results Header Injection via SMTP AUTH Username

Published Dec 1, 2026
·
Updated

Haraka before 3.4.2 contains a header injection vulnerability in plugins/auth/authbase.js checkuser() 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.

Affected Software

1 affected component
npm/Haraka<3.4.2

Event History

Dec 1, 2026
CVE Published
via OSV·03:43 PM
Data Sourced
via OSV·03:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated SMTP client that can connect to the affected Haraka server can attempt exploitation. The attacker does not need valid SMTP AUTH credentials because the vulnerable path records failed authentication usernames.

2

What is required for exploitation?

The attacker needs to submit a crafted SMTP AUTH username containing injected Authentication-Results clauses. Exploitation is network-accessible, requires low complexity, and does not require privileges or user interaction.

3

What is the practical impact?

An attacker can cause Authentication-Results headers to claim results such as dkim=pass, spf=pass, and dmarc=pass under the server's authserv-id. These spoofed results apply to later messages in the same SMTP session.

4

Which versions should be remediated?

Haraka versions before 3.4.2 are affected. Update to version 3.4.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203