Description
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.
Published: 2026-07-24
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Exim versions prior to 4.99.5 are susceptible to a directory traversal flaw that is triggered through the queue-name argument. An attacker can construct a queue name containing path traversal characters, causing Exim to read files outside its spool directory. This flaw allows the attacker to view sensitive files and gain privileges within the host system, effectively escalating their access.

Affected Systems

All Exim releases older than 4.99.5 run on any platform that serves mail via SMTP. The vulnerability affects the mail transfer agent itself, independent of the underlying operating system. Systems with a deployed Exim installation that has not applied the 4.99.5 update remain at risk.

Risk and Exploitability

The CVSS score of 8.4 signals a high severity risk, while the EPSS score of less than 1% implies that exploitation is currently unlikely. The vulnerability is not cataloged in CISA’s KEV registry. Based on the description the attack vector is through specially crafted SMTP traffic targeting the queue-name handling logic. Successful exploitation would permit an attacker to read arbitrary files and elevate privileges on the afflicted host.

Generated by OpenCVE AI on August 3, 2026 at 20:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Exim to version 4.99.5 or later to fix the directory traversal flaw.
  • If an immediate upgrade is not possible, restrict access to the Exim SMTP service by using firewall rules or network segmentation to limit connections to trusted hosts.
  • Disable or filter queue-name input that contains path traversal sequences, ensuring the application enforces strict validation of queue identifiers.

Generated by OpenCVE AI on August 3, 2026 at 20:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6400-1 exim4 security update
History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Title Directory Traversal Exploiting Queue-Name Argument in Exim exim: Exim: Privilege escalation via directory traversal due to mishandled queue-name arguments
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Important


Sun, 26 Jul 2026 04:15:00 +0000

Type Values Removed Values Added
Title Directory Traversal Exploiting Queue-Name Argument in Exim

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 24 Jul 2026 04:45:00 +0000

Type Values Removed Values Added
Description 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.
First Time appeared Exim
Exim exim
Weaknesses CWE-24
CPEs cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*
Vendors & Products Exim
Exim exim
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-24T12:25:04.081Z

Reserved: 2026-07-24T04:32:08.386Z

Link: CVE-2026-66140

cve-icon Vulnrichment

Updated: 2026-07-24T12:24:58.773Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-24T05:16:49.747

Modified: 2026-07-30T14:15:31.167

Link: CVE-2026-66140

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-24T04:32:08Z

Links: CVE-2026-66140 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T20:45:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-24

    Path Traversal: '../filedir'