Skip to main content

Exim CVE-2026-66140

| EUVDEUVD-2026-48478 HIGH
Path Traversal: '../filedir' (CWE-24)
2026-07-24 mitre GHSA-5qxf-w5v2-m3rg
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged account access
  2. Delivery
    Invoke Exim queue management with crafted queue-name
  3. Exploit
    Traverse directory boundary via '../' sequences
  4. Execution
    Access or modify files outside spool area
  5. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Jul 24, 2026 - 05:17 CVSS 8.4

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

exim 4.88 <4.99.5

Affected Packages

euvd exim fix: 4.99.5

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

Vendor (mitre) PRIMARY HIGH
NVD 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 8.4 HIGH

Primary rating from Vendor (mitre).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Aug 17, 2026 - 19:07 NVD
8.4 (HIGH) 7.8 (HIGH)
Patch available
Jul 24, 2026 - 06:02 EUVD
CVE Published
Jul 24, 2026 - 04:32 cve.org
HIGH 8.4

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
default MTA on Debian/Ubuntu, ubiquitous in shared Linux hosting
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Exim

View all
CVE-2017-16943 CRITICAL POC
9.8 Nov 25

The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitr

CVE-2017-16944 HIGH POC
7.5 Nov 25

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

CVE-2016-1531 HIGH POC
7.0 Apr 07

Exim before 4.86.2, when installed setuid root, allows local users to gain privileges via the perl_startup argument. Rat

CVE-2025-26794 HIGH
7.5 Feb 21

Exim mail server version 4.98 before 4.98.1 contains a remote SQL injection vulnerability when SQLite hints and ETRN ser

CVE-2019-10149 CRITICAL POC
9.8 Jun 05

A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Rated critical severity (CVSS 9.8), this vulnerability is re

CVE-2012-5671 MEDIUM
6.8 Oct 31

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

CVE-2022-37452 CRITICAL POC
9.8 Aug 07

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

CVE-2019-16928 CRITICAL POC
9.8 Sep 27

Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. Rated critical sev

CVE-2018-6789 CRITICAL POC
9.8 Feb 08

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. Rated critical severity (CVS

CVE-2020-8015 HIGH POC
7.8 Apr 02

A UNIX Symbolic Link (Symlink) Following vulnerability in the packaging of exim in openSUSE Factory allows local attacke

CVE-2022-37451 HIGH POC
7.5 Aug 06

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

CVE-2020-12783 HIGH POC
7.5 May 11

Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy