cve.bz

CVE-2026-66141 exim exim

7.8 highEPSS 0.1%

High (7.8) in exim exim. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-66141 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-66141?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-66141?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-66141 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Eximfrom 4.82 before 4.99.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12exim4no fix listedDEBIAN-CVE-2026-66141
Debian13exim44.98.2-1+deb13u4DEBIAN-CVE-2026-66141 DSA-6400-1
Debian14exim44.99.4-2DEBIAN-CVE-2026-66141
Ubuntu22.04:LTSexim44.95-4ubuntu2.11UBUNTU-CVE-2026-66141
Ubuntu24.04:LTSexim44.97-4ubuntu4.7UBUNTU-CVE-2026-66141
Ubuntu26.04:LTSexim44.99.1-1ubuntu1.4UBUNTU-CVE-2026-66141
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreexim4no fix listedUBUNTU-CVE-2026-66141
Alpinev3.24exim4.98.5-r0ALPINE-CVE-2026-66141

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw affects Exim versions 4.82 through 4.99.4. Exploitation requires a local user account capable of controlling a .forward file, on a system where Exim is configured with a redirect router that routes .forward processing to a pipe transport, where that pipe transport has the force_command option set and runs with elevated/privileged permissions. The issue is fixed upstream in Exim 4.99.5, which removes the local_part expansion under force_command. Exim is shipped only via the community Fedora and EPEL repositories, not by any supported Red Hat product. No Red Hat product streams are affected by this flaw.

Red Hat's mitigation

Upgrade to Exim 4.99.5 or later. If an immediate upgrade isn't possible, remove the force_command option from any pipe transport reachable via user .forward routing, or ensure such transports do not run as a privileged user. Upstream Fedora/EPEL already ship the fixed version 4.99.5.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-66141.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON