CVE-2026-66140
Received Received - Intake

Directory Traversal in Exim Mail Server

Vulnerability report for CVE-2026-66140, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-24

Last updated on: 2026-07-24

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-24
Last Modified
2026-07-24
Generated
2026-07-24
AI Q&A
2026-07-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
exim exim to 4.99.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-24 The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Exim before version 4.99.5 has a directory traversal vulnerability where arguments related to queue-name are mishandled. This allows attackers with command-line access to access files outside the spool area, potentially leading to privilege escalation.

Detection Guidance

To detect this vulnerability, check the Exim version installed on your system. Run: exim --version. If the version is below 4.99.5, the system is vulnerable. Additionally, monitor for unusual file access patterns or privilege escalation attempts in logs.

Impact Analysis

An attacker could exploit this to access sensitive files outside the intended directory, gain elevated privileges, and execute arbitrary commands on the system. This could lead to full system compromise depending on the configuration.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. Organizations may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Immediately upgrade Exim to version 4.99.5 or later. If upgrading is not possible, restrict command-line access to Exim and review .forward file configurations to prevent privilege escalation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66140. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart