Exim4: Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled.
Exim versions before 4.99.5 contain a vulnerability that allows privilege escalation via mishandling of force_command in a pipe transport for .forward files. This flaw can be exploited locally to gain elevated privileges. The issue affects multiple Ubuntu LTS versions with Exim packages prior to specific patched versions.
AI Analysis
Technical Summary
Exim before version 4.99.5 improperly handles the force_command directive for pipe transports, which can be exploited through .forward files to escalate privileges. This vulnerability affects numerous Ubuntu-distributed Exim4 package versions. The issue allows a local attacker to gain elevated privileges due to incorrect enforcement of force_command restrictions. The vulnerability is identified by CVSS 3.1 vector AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating local attack vector, high attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows a local attacker to escalate privileges on the affected system by exploiting the mishandling of force_command in pipe transports. This can lead to full system compromise, including unauthorized access to sensitive data and disruption of services.
Mitigation Recommendations
A fix is available in Exim version 4.99.5 and later. Users should upgrade to version 4.99.5 or newer to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the official patch or upgrading the affected Exim4 packages.
Exim4: Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled.
Description
Exim versions before 4.99.5 contain a vulnerability that allows privilege escalation via mishandling of force_command in a pipe transport for .forward files. This flaw can be exploited locally to gain elevated privileges. The issue affects multiple Ubuntu LTS versions with Exim packages prior to specific patched versions.
CVSS v3.1
Score 7.4high
Affected software
pkg:deb/ubuntu/[email protected]+esm9?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/[email protected]+esm9?arch=source&distro=esm-infra-legacy/xenialpkg:deb/ubuntu/[email protected]+esm6?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/[email protected]?arch=source&distro=jammypkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Exim before version 4.99.5 improperly handles the force_command directive for pipe transports, which can be exploited through .forward files to escalate privileges. This vulnerability affects numerous Ubuntu-distributed Exim4 package versions. The issue allows a local attacker to gain elevated privileges due to incorrect enforcement of force_command restrictions. The vulnerability is identified by CVSS 3.1 vector AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating local attack vector, high attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows a local attacker to escalate privileges on the affected system by exploiting the mishandling of force_command in pipe transports. This can lead to full system compromise, including unauthorized access to sensitive data and disruption of services.
Mitigation Recommendations
A fix is available in Exim version 4.99.5 and later. Users should upgrade to version 4.99.5 or newer to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the official patch or upgrading the affected Exim4 packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-66141
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a6ae5469c2644c7f898828f
Added to database: 07/30/2026, 05:46:46 UTC
Last enriched: 07/30/2026, 07:15:12 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.