CVE-2026-137938: Sparkle before 2.9.6 Local Privilege Escalation via Installer Download Path Race
Sparkle before 2.9.6 contains a time-of-check time-of-use race condition in the installer's SPUInstallationData handling in AppInstaller.m, which validates the symlink-resolved download URL but performs the privileged move on the unresolved URL and checks the file type only afterwards. A local user can swap an intermediate directory of the download path for a symlink between the check and the move, causing a root installer to rename a file out of a protected location and leading to privilege escalation when the installer runs in the system domain.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.9.6
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using Sparkle versions before 2.9.6 are exposed when the installer runs in the system domain. Exploitation requires a local user.
What does an attacker need to do to exploit it?
The attacker must win a timing race by replacing an intermediate directory in the download path with a symlink after URL validation but before the privileged move. The installer then performs a root-privileged rename using the unresolved path.
What is the practical impact?
A successful race can cause the root installer to rename a file out of a protected location, resulting in local privilege escalation.
How can this be remediated?
Update Sparkle to version 2.9.6 or later. The affected behavior is present in versions before 2.9.6.