Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privileged account access
-
DeliveryInvoke Exim queue management with crafted queue-name
-
ExploitTraverse directory boundary via '../' sequences
-
ExecutionAccess or modify files outside spool area
-
ImpactEscalate privileges to root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
|
| Exploitation Conditions | Exploitation requires a local account on the target system with at least low-level privileges (consistent with CVSS PR:L), sufficient to invoke Exim queue management operations that accept queue-name arguments. The attack vector is strictly local (AV:L), ruling out remote unauthenticated exploitation. The attacker must be able to supply a controlled queue-name argument to the affected Exim code path - this is enabled by the presence of Exim 4.88 through 4.99.4 on the system. No special non-default configuration is required; any Exim installation in the affected version range is vulnerable when a local user can interact with queue-management functionality. Exploitation is limited by the need for local access: remote-only attackers cannot trigger this without first gaining a foothold on the host. |
| Impact | The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) places this as a local privilege escalation with low attack complexity and low required privileges, yielding a score of 7.8. SSVC corroborates the severity with a technical impact of 'total', but rates exploitation as 'none' and automatable as 'no', which aligns with the local attack vector - mass remote exploitation is not feasible. The EPSS score of 0.27% at the 19th percentile confirms this is not currently being exploited at scale. The absence of a CISA KEV listing and no reported POC further reduce immediate urgency. The realistic threat model is an attacker or malicious process that already has a local low-privileged account on an Exim-bearing server - a credible scenario in shared hosting or compromised web application contexts. Any organization running internet-facing mail infrastructure, whether a large enterprise or a smaller regional operator, should treat this as a meaningful privilege escalation risk given that Exim processes are typically long-running and may run as a semi-privileged system user. The gap between the 'total' SSVC technical impact and the low EPSS score is consistent with a vulnerability that is severe once local access is achieved but requires that prerequisite, limiting opportunistic mass exploitation. |
| Exploit ScenarioDerived | A low-privileged local user or compromised web application process with the ability to invoke Exim queue operations submits a crafted queue-name value containing directory traversal sequences (e.g., '../../etc/shadow') as an argument to Exim's queue management interface. Exim processes the argument without stripping the traversal sequences, causing filesystem operations to target files outside the spool directory. The attacker reads sensitive system files or overwrites privileged files to escalate to root. No public POC has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 17, 2026
Directory traversal in Exim before 4.99.5 enables low-privileged local users to escape the mail spool directory boundary and read or manipulate arbitrary files on the host filesystem, ultimately achieving privilege escalation. The flaw is rooted in improper validation of queue-name arguments (CWE-24), affecting Exim from version 4.88 through 4.99.4. No public exploit has been identified at time of analysis, and EPSS at 0.27% (19th percentile) reflects limited exploitation activity, though SSVC assesses the technical impact as total given successful exploitation yields full system compromise.
Earlier versions of this analysis (1)
Local privilege escalation in the Exim mail transfer agent before 4.99.5 lets an unprivileged local user break out of the spool directory by supplying crafted queue-name arguments, reaching files outside the intended spool area and consequently gaining elevated (typically root) privileges. The flaw is a path-traversal (CWE-24) in how Exim parses queue-name-related arguments; because Exim commonly runs with setuid-root privileges, traversal translates directly into privilege gain. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Upgrade to Exim 4.99.5, which contains the vendor-released patch addressing the queue-name argument handling flaw. The upstream disclosure is documented at https://openwall.com/lists/oss-security/2026/07/22/9. If immediate upgrade is not possible, restrict local system access to Exim queue management commands by limiting which local accounts can invoke Exim's queue-management flags (e.g., via sudo rules or filesystem ACLs on the Exim binary), accepting the trade-off that legitimate queue inspection by non-root users will also be blocked. Additionally, monitor filesystem access patterns from the Exim process user for anomalous reads outside the spool directory as a detection compensating control. The patch from the vendor is confirmed available; no exact commit or PR reference was provided in the source data, so obtaining the fix via the official Exim 4.99.5 release is the recommended path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Exim is a widely-deployed open-source Mail Transfer Agent (MTA) used predominantly on Unix/Linux systems. It maintains a spool directory where in-transit messages and queue metadata are stored. The affected code path handles queue-name arguments used in queue management operations; CWE-24 (Path Traversal with '../filedir') indicates that user-supplied queue-name values are not canonicalized or stripped of traversal sequences before being used in filesystem operations. This allows an attacker to construct a queue-name containing '../' sequences to reference paths outside the intended spool directory boundary. The CPE string cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:* with version range 4.88 to 4.99.4 confirms the scope is the Exim application itself, not OS-level packages.
Know when Exim 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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local attack requiring low-privileged user to supply queue-name arguments; full C/I/A impact because arbitrary file access enables privilege escalation to root.
Primary rating from Vendor (mitre).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to queue-name are mishandled.
Executive ViewAI
Exim mail server versions 4.88-4.99.4 contain a directory traversal vulnerability enabling local privilege escalation with potential for complete system compromise. This threatens the confidentiality and integrity of organizational email, system configurations, and user data across mail infrastructure. Immediate patching to version 4.99.5 is critical to eliminate this HIGH-severity risk.
Apply vendor patch.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitr
The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial
Exim before 4.86.2, when installed setuid root, allows local users to gain privileges via the perl_startup argument. Rat
Exim mail server version 4.98 before 4.98.1 contains a remote SQL injection vulnerability when SQLite hints and ETRN ser
A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Rated critical severity (CVSS 9.8), this vulnerability is re
Heap-based buffer overflow in the dkim_exim_query_dns_txt function in dkim.c in Exim 4.70 through 4.80, when DKIM suppor
Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host.c when sender_host_name
Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. Rated critical sev
An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. Rated critical severity (CVS
A UNIX Symbolic Link (Symlink) Following vulnerability in the packaging of exim in openSUSE Factory allows local attacke
Exim before 4.96 has an invalid free in pam_converse in auths/call_pam.c because store_free is not used after store_mall
Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass
EUVD-2026-48478
GHSA-5qxf-w5v2-m3rg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB