sendmail: mail to root privilege escalation via sm-client.pre script
Description
A symlink following flaw in the sendmail systemd service script on openSUSE Factory lets local attackers escalate from mail user to root.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A symlink following flaw in the sendmail systemd service script on openSUSE Factory lets local attackers escalate from mail user to root.
Vulnerability
A symlink following vulnerability exists in the sm-client.pre script invoked by the sendmail systemd service on openSUSE Factory. The script improperly resolves symbolic links before accessing files, allowing a local attacker to trick it into operating on an arbitrary file. This affects sendmail versions prior to 8.17.1-1.1 on openSUSE Factory [1].
Exploitation
An attacker with local access as the mail user can create a symbolic link in a location that the sm-client.pre script writes to or reads from. When the script runs (triggered by systemd), it follows the attacker-controlled symlink and performs file operations on a target file owned by root, such as overwriting a system configuration file or a privileged binary.
Impact
Successful exploitation allows the attacker to escalate privileges from the mail user to root, gaining full control over the system.
Mitigation
The vulnerability is fixed in sendmail version 8.17.1-1.1 for openSUSE Factory. Users should update to this version or later. No workaround is documented; the fix is available via the package manager [1].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
28<8.17.1-1.1+ 1 more
- (no CPE)range: <8.17.1-1.1
- (no CPE)range: sendmail
- osv-coords26 versionspkg:rpm/opensuse/sendmail&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/sendmail&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/sendmail&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/sendmail&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2012pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/sendmail&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/sendmail&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/sendmail&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/sendmail&distro=SUSE%20Manager%20Server%204.1
< 8.15.2-150000.8.9.1+ 25 more
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.14.9-4.6.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
- (no CPE)range: < 8.15.2-150000.8.9.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
1News mentions
0No linked articles in our index yet.