CVE-2026-66141

Published Jul 24, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled.

Analysis

AI-generated

Technical impact

Exim versions older than 4.99.5 mishandle the force_command directive for a pipe transport within .forward files, which allows an attacker to execute arbitrary commands with the privileges of the Exim daemon. This flaw is classified as a privilege‑elevation vulnerability (CWE‑829) and can compromise the confidentiality, integrity, and availability of the mail server environment.

Affected Systems

All instances of Exim running a version prior to 4.99.5 are affected. The vulnerability applies regardless of the operating system or host configuration, as long as the mail server processes .forward files and supports pipe transports.

Risk and Exploitability

The CVSS score of 7.4 indicates a high severity of the flaw, but the EPSS score of less than 1% suggests a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves creating or modifying a .forward file that Exim reads; an attacker must have the ability to write such a file. No publicly released exploit is documented, but the lack of an exploit does not mitigate the risk of privileged execution if an attacker can influence the .forward content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Exim to version 4.99.5 or newer, which resolves the force_command mishandling bug.
  • If upgrading cannot be performed immediately, disable pipe transports in the Exim configuration to eliminate the vulnerable execution path.
  • Restrict write access to directories that contain .forward files, ensuring that only privileged or trusted users can create or modify these files.

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
Type Values Removed Values Added
Title Privilege Escalation via .forward File in Exim before 4.99.5
Type Values Removed Values Added
Title Privilege Escalation via .forward File in Exim before 4.99.5
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled.
First Time appeared Exim
Exim exim
Weaknesses CWE-829
CPEs cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*
Vendors & Products Exim
Exim exim
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Jul 24, 2026, 6:42 PM
Reserved
Jul 24, 2026, 4:37 AM
Status
Analyzed
Published
Jul 24, 2026, 5:16 AM
Modified
Aug 17, 2026, 7:06 PM