CVE-2026-137938

Sparkle before 2.9.6 Local Privilege Escalation via Installer Download Path Race

Published Nov 27, 2026 CVSS 4.0 · 7.3 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Sparkle before version 2.9.6 contains a time‑of‑check time‑of‑use race condition in the installer’s handling of SPUInstallationData. The code validates the resolved download URL, but then performs a privileged move using the unresolved URL and checks the file type only after the move. A local user can exploit this by swapping an intermediate directory of the download path for a symlink between the check and the move. This causes the system‑domain installer to rename a file out of a protected location, effectively elevating the local user’s privileges when the installer runs.

Affected Systems

All software that includes Sparkle before version 2.9.6 is affected. The vulnerability resides in Sparkle’s installer code and applies to installations that use the library to automatically update applications, typically on macOS environments. No specific operating system versions are listed, but any host that allows a local user to write into the intermediate download directory and run the Sparkle installer is at risk.

Risk and Exploitability

The CVSS score is 7.3, indicating a moderate to high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local user who can create or modify a symbolic link in the download directory; the attack is therefore a local privilege escalation scenario. The risk is elevated for systems where the install directory is writable by non‑privileged users or where automatic installers run with system credentials. Prompt patching mitigates the risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Sparkle library to version 2.9.6 or later, which removes the race condition in installer path handling.
  • Restrict write access on any intermediate download directories used by Sparkle to prevent non‑privileged users from creating or replacing symbolic links.
  • Verify that the installer executes with the intended system credentials only after the race condition has been addressed, and ensure path resolution is performed before any privileged file operations.

Generated by OpenCVE AI on November 27, 2026 at 14:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sparkle-project
Sparkle-project sparkle
Vendors & Products Sparkle-project
Sparkle-project sparkle
Type Values Removed Values Added
Description 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.
Title Sparkle before 2.9.6 Local Privilege Escalation via Installer Download Path Race
Weaknesses CWE-367
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
AISLE
Published
Updated
Nov 27, 2026, 1:44 PM
Reserved
Nov 27, 2026, 1:36 PM
Status
Received
Published
Nov 27, 2026, 2:17 PM
Modified
Nov 27, 2026, 2:17 PM