CVE-2026-137939 in Sparkle
Summary
by MITRE • 11/27/2026
Sparkle 2.2.0 before 2.9.6 contains a link following vulnerability in -submitInstallerAtPath: in SUInstallerLauncher.m that builds a root updater's launcher cache path inside the console user's home directory and then deletes and creates items there without rejecting symbolic links. A local console user can pre-create that path as a symlink while a CLI tool or daemon updates a bundle as root, making root delete old files in a directory of the attacker's choosing and create a directory there that is chowned to the attacker, leading to privilege escalation.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/27/2026
The vulnerability identified in Sparkle versions prior to 2.9.6 represents a critical security flaw rooted in improper handling of symbolic links during software update operations. Specifically, the issue resides within the SUInstallerLauncher.m file, affecting the -submitInstallerAtPath: method which is responsible for managing the launcher cache path for root updaters. The core technical failure involves the application building this cache path inside the console user's home directory and subsequently performing deletion and creation of items at that location without validating whether existing paths are symbolic links rather than standard directories or files. This lack of validation allows an attacker to manipulate file system operations by pre-creating a symlink at the target location, thereby redirecting destructive actions intended for the application cache into arbitrary locations on the local filesystem.
From a technical perspective, this flaw exploits the race condition and path traversal weaknesses inherent in applications that perform privileged file system modifications without strict input sanitization or atomic operation checks. When a CLI tool or daemon executes with root privileges to update an application bundle, it relies on the assumption that the target paths are controlled by the operating system's standard directory structure. However, because Sparkle does not reject symbolic links during this process, a local console user can exploit this trust boundary violation. By creating a symlink pointing to a sensitive or critical directory before the update process begins, the attacker forces the root-level operation to delete existing files in that arbitrary location and create new directories owned by the unprivileged user. This mechanism effectively bypasses standard permission checks because the file system operations are executed with elevated privileges but directed toward targets chosen by an untrusted actor.
The operational impact of this vulnerability is severe, primarily due to its potential for local privilege escalation. An attacker who gains access as a local console user can leverage this flaw to delete critical system files or configuration data located in directories pointed to by the manipulated symlink. Furthermore, because the newly created directory is chowned to the attacker, they gain persistent control over that part of the file system. This capability allows for further exploitation vectors such as injecting malicious scripts into startup locations, modifying sensitive configuration files, or establishing a foothold for more advanced attacks against other users and services on the host machine. The ability to delete arbitrary files also poses a significant risk to data integrity and availability, potentially causing denial of service conditions if critical system components are removed.
This vulnerability aligns with CWE-59: Improper Link Resolution Before File Access, which describes flaws where an application resolves symbolic links before performing security checks on the final target path. Additionally, it maps to MITRE ATT&CK technique T1068: Exploitation for Privilege Escalation, as the attacker utilizes a specific software vulnerability to gain higher-level permissions than originally granted. The scenario also reflects elements of CWE-379: Creation of File in Directory with Incorrect Permissions, given that the resulting directory is owned by an unprivileged user despite being created during a privileged operation.
To mitigate this risk, organizations must immediately upgrade Sparkle to version 2.9.6 or later where these path validation checks have been implemented. In environments where upgrading is not immediately feasible, administrators should enforce strict file system permissions on the home directories of all users to prevent unauthorized creation of symbolic links in areas accessible by update daemons. Implementing mandatory access control policies such as SELinux or AppArmor can also help restrict the ability of unprivileged processes to create symlinks that redirect privileged operations. Regular auditing of application logs for unusual file system activities and ensuring that software updates are performed through trusted, automated channels with integrity verification further reduces the attack surface associated with this type of vulnerability.