CVE-2026-137938
Received Received - Intake

Sparkle Installer TOCTOU Race Condition Leads to Privilege Escalation

Vulnerability report for CVE-2026-137938, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sparkle-project Sparkle From 0 (inc) to 2.9.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-137938 is a time-of-check time-of-use (TOCTOU) race condition in Sparkle versions 2.9.5 and earlier. The installer validates the resolved download URL path but moves the file using the unresolved path. An attacker can replace a directory in the source path with a symlink between validation and the move operation, causing the installer to move a file out of a protected location. This leads to privilege escalation when the installer runs in the system domain.

Detection Guidance

Detecting this vulnerability requires checking the Sparkle version in use. Run 'defaults read /Applications/YourApp.app/Contents/Info SparkleVersion' for each app using Sparkle. If the version is 2.9.5 or earlier, the system is vulnerable. Additionally, monitor system logs for unexpected file moves or privilege changes during Sparkle updates.

Impact Analysis

This vulnerability allows a local attacker to escalate privileges by exploiting a race condition during software installation. If exploited, it could let the attacker gain root access, potentially compromising the entire system. The attack requires local access but no user interaction, making it dangerous in shared or multi-user environments.

Compliance Impact

This vulnerability primarily enables local privilege escalation, which could allow unauthorized access to sensitive data or system functions. While not directly violating GDPR or HIPAA, such access could lead to data breaches or unauthorized modifications, potentially violating compliance requirements for data protection and integrity.

Mitigation Strategies

Immediately update Sparkle to version 2.9.6 or later. Remove write permissions from directories in the download path to prevent symlink creation. Disable Sparkle updates for root processes if not required. Review system logs for signs of exploitation and revoke unnecessary privileges.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137938. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...