Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34752

CVE-2026-34752: Haraka Mail Server DOS Vulnerability

CVE-2026-34752 is a denial of service vulnerability in Haraka Node.js mail server caused by prototype pollution in email headers. Attackers can crash the worker process by sending specially crafted emails. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 2, 2026

CVE-2026-34752 Overview

CVE-2026-34752 is a Denial of Service vulnerability affecting Haraka, a popular Node.js mail server. The vulnerability allows remote attackers to crash Haraka worker processes by sending specially crafted emails containing __proto__ as a header name. This prototype pollution attack vector exploits how JavaScript handles object property assignment, causing the server to terminate unexpectedly when processing malicious email headers.

Critical Impact

Remote unauthenticated attackers can crash Haraka mail server worker processes, causing service disruption and potential mail delivery failures across the organization.

Affected Products

  • Haraka Node.js Mail Server versions prior to 3.1.4

Discovery Timeline

  • 2026-04-02 - CVE CVE-2026-34752 published to NVD
  • 2026-04-02 - Last updated in NVD database

Technical Details for CVE-2026-34752

Vulnerability Analysis

This vulnerability stems from improper handling of email header names in Haraka's mail processing logic. When an email is received with __proto__ used as a header name, the server attempts to process this as a standard header property. In JavaScript, __proto__ is a special property that references an object's prototype, and direct manipulation of this property can lead to prototype pollution or, in this case, an uncaught exception that crashes the worker process.

The vulnerability is classified under CWE-248 (Uncaught Exception), indicating that the application fails to properly handle the exception raised when processing the malicious header. The network-accessible attack vector means that any external actor capable of sending emails to the Haraka server can trigger the crash without requiring authentication.

Root Cause

The root cause is the absence of input validation and sanitization for email header names before they are processed as object properties in JavaScript. The Haraka mail server does not filter or escape special JavaScript property names like __proto__, constructor, or prototype when parsing incoming email headers. When the __proto__ header is encountered, it triggers prototype pollution behavior that the application cannot handle gracefully, resulting in an uncaught exception and worker process termination.

Attack Vector

The attack can be executed remotely over the network by any attacker capable of sending SMTP traffic to the vulnerable Haraka server. The attacker constructs a malicious email with the header name set to __proto__ and sends it to the target mail server. Upon receiving and processing this email, the Haraka worker process crashes.

The attack requires no authentication, no user interaction, and has low complexity. The attacker simply needs network access to the SMTP port (typically port 25, 465, or 587) of the vulnerable Haraka instance. Each malicious email sent will crash a worker process, and repeated attacks can effectively deny mail service to legitimate users.

Detection Methods for CVE-2026-34752

Indicators of Compromise

  • Unexpected crashes or restarts of Haraka worker processes in system logs
  • SMTP connections containing emails with __proto__ or similar prototype pollution strings in header names
  • Increased frequency of worker process spawn events indicating repeated crashes
  • Error logs showing uncaught exceptions related to object property handling

Detection Strategies

  • Configure mail gateway logs to alert on emails containing __proto__, constructor, or __defineGetter__ in header names
  • Monitor Haraka process stability using process managers like PM2 or systemd, alerting on abnormal restart patterns
  • Implement SMTP traffic inspection rules to identify and flag malicious header patterns before they reach the mail server
  • Review application logs for stack traces indicating prototype pollution or uncaught exception errors

Monitoring Recommendations

  • Enable verbose logging in Haraka to capture detailed information about incoming email headers during incident investigation
  • Set up real-time alerting for Haraka worker process crashes using monitoring solutions like Prometheus, Datadog, or similar
  • Monitor SMTP connection rates and correlate spikes with process instability events
  • Implement baseline metrics for normal worker process lifecycle and alert on deviations

How to Mitigate CVE-2026-34752

Immediate Actions Required

  • Upgrade Haraka to version 3.1.4 or later immediately, as this version contains the patch for this vulnerability
  • Review recent mail server logs for evidence of exploitation attempts using __proto__ headers
  • Consider temporarily implementing upstream mail filtering to block emails with suspicious header patterns while patching is scheduled
  • Ensure worker process supervisors are configured to restart crashed processes to maintain service availability during the upgrade window

Patch Information

The vulnerability has been addressed in Haraka version 3.1.4. The patch adds proper input validation and sanitization for email header names, preventing special JavaScript properties from causing prototype pollution or uncaught exceptions. Organizations should upgrade to this version or later by following the release notes available at the GitHub Haraka Release v3.1.4. Additional details about the vulnerability and fix can be found in the GitHub Security Advisory GHSA-xph3-r2jf-4vp3.

Workarounds

  • Deploy a mail relay or proxy in front of Haraka that sanitizes or rejects emails with __proto__ or other JavaScript-sensitive strings in header names
  • Implement rate limiting on SMTP connections to reduce the impact of repeated crash attempts
  • Configure network-level filtering to restrict SMTP access to trusted sources while awaiting the patch deployment
  • Use process supervision tools to automatically restart crashed Haraka workers, minimizing downtime during an attack
bash
# Upgrade Haraka to patched version
npm update haraka@3.1.4

# Verify installed version
npm list haraka

# Restart Haraka service after upgrade
systemctl restart haraka

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechHaraka

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-248
  • Technical References
  • GitHub Haraka Release v3.1.4

  • GitHub Security Advisory GHSA-xph3-r2jf-4vp3
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English