Skip to main content

Sparkle CVE-2026-137938

| EUVDEUVD-2026-137248 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-11-27 AISLE GHSA-jv69-298f-4vpf
7.3
CVSS 4.0 · Vendor: AISLE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user account on macOS host
  2. Delivery
    Stage symlink over intermediate dir in own cache download path
  3. Exploit
    Win TOCTOU race between resolved-path check and unresolved move
  4. Execution
    Root installer renames file out of protected location
  5. Impact
    Local privilege escalation to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires a local, authenticated user on the macOS host (the source download path lives in the user's own cache tree, so no elevated access is needed to stage the swap) AND the Sparkle installer must run in the system/privileged domain for the renamed file to escape a protected location. The attacker must replace an intermediate directory of the download path with a symlink during the check-to-move window, and must win that race (AC:H) - the window includes a UUID generation and a directory creation (AT:P). Per the advisory, a general exploit also practically requires the moved file's basename to match what the installer expects, implying control of the server's suggestedFilename. Limiting factors: no remote vector (AV:L), no path for an unauthenticated attacker (PR:L), no user interaction needed (UI:N), and the race/filename constraints reduce reliability. The complete fix is updating to Sparkle 2.9.6, which opens and resolves the source safely before renaming.

Impact

This is a genuine but second-tier priority: a local privilege-escalation flaw, not a remotely exploitable one. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L) confirms the attacker must already be a local, authenticated user and must win a non-trivial race, and the vuln.today Decision label is 'this_week' rather than act_now/emergency. No EPSS score, KEV entry, or confirmed working exploit is present in the input, so there is no evidence of active or automated exploitation - consistent with an LPE that requires local access and a timing window. The high technical impact (VC:H/VI:H/VA:H → root) is real once exploited, but AC:H plus AT:P (the window spans a UUID generation and directory creation, and the advisory notes a practical constraint that the attacker also likely needs to control the server's suggestedFilename) materially lowers reliability. Net: patch on a normal expedited cycle (this week) for any macOS fleet shipping Sparkle-based apps, but this is not a drop-everything network emergency; the high-severity rating reflects root-level impact, not ease or breadth of exploitation.

Exploit ScenarioDerived

A local user on a macOS machine stages a symlink swap in their own Sparkle cache/download tree and triggers an app update whose installer runs in the system (privileged) domain. By replacing an intermediate directory of the download path with a symlink in the window between Sparkle's symlink-resolved validation and the unresolved privileged move, the root installer renames a file out of a protected location, yielding local privilege escalation. No confirmed working exploit is published; the GitHub Security Advisory describes the mechanism but notes a general PoC likely also requires control of the server's suggestedFilename, and local access plus a race window (AC:H/AT:P) are required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

Local privilege escalation in the Sparkle updater framework affects releases through 2.9.5: the Autoupdate installer validates a symlink-resolved form of the client-supplied download URL, then performs the privileged move on the unresolved URL and checks the file type only after the move, so a local user who replaces an intermediate directory of the download path with a symlink inside that window can cause a root installer to rename a file out of a protected location. The source path sits inside the invoking user's own cache tree, so staging the swap needs no elevated access, but the impact materialises only when the installer runs in the system domain, and exploitation additionally requires the attacker to win the race (CVSS AC:H / AT:P, with the window spanning a UUID generation and a directory creation) and to control the moved file's basename, which per the advisory implies control of the server's suggestedFilename. No public exploit code and no active exploitation are identified in the available sources; the vuln.today decision label is this_week.

RemediationAI

Vendor-released patch: Sparkle 2.9.6. Upgrade the Sparkle framework to 2.9.6 (or later) and rebuild/release every macOS application that embeds it, since the vulnerable code ships inside the app bundle rather than being independently patchable on the host; the fix is commit 8b73733ac2b95b7054acdafc5a564a0457fcf40e and the release is published at https://github.com/sparkle-project/Sparkle/releases/tag/2.9.6, with the advisory at https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-3x7w-j75x-ppq5. The patched build resolves the symlink-free source path and refuses to rename when any symlink is encountered during resolution, falling back to a file copy on macOS versions before 11; per the advisory the complete fix is updating, and no separate vendor-documented workaround is listed in the available sources. Where an immediate update cannot be shipped, reducing exposure means limiting which applications run the Sparkle installer in the system domain and treating the updater's privileged helper as the trust boundary, with the trade-off that this removes the frictionless silent-update path for those apps.

Affected VersionsENISA

Sparkle 0 <2.9.6

Affected Packages

euvd sparkle fix: 2.9.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Sparkle is the widely embedded macOS auto-update framework; its privileged helper component Autoupdate is what actually installs updates and can run in the system domain as root. The flaw is a time-of-check time-of-use race (CWE-367) with symlink-following characteristics (the advisory also classifies it CWE-59) in the SPUInstallationData handling in Autoupdate/AppInstaller.m around lines 484-577. The pre-move validation walks downloadURL.URLByResolvingSymlinksInPath.pathComponents and rejects path components containing ".." or "PersistentDownloads", but roughly seventy lines later the code calls SUFileManager -moveItemAtURL:toURL: on the original, unresolved downloadURL. SUFileManager's move implementation (Sparkle/SUFileManager.m:192-225) is purely path-based: it uses no O_NOFOLLOW and no file-descriptor validation, and the regular-file check that exists specifically to catch a symbolic link placed by an attacker executes only after the rename has already happened. Because resolution and rename() are not atomic, an attacker who controls the source path can substitute a symlinked intermediate directory during the check-to-move window and redirect the privileged rename. The upstream fix (commit 8b73733) adds SUFileManager -resolveSymlinksInURL:isDirectory:error: (a getFileSystemRepresentation-based resolver, needed because NSURL URLByResolvingSymlinksInPath does not resolve paths beginning with /private) and -renameItemAtResolvedSymlinkURL:toResolvedSymlinkURL:error: which fails if any symlink is encountered during path resolution; on macOS 11 and later it renames the resolved source to a resolved destination, and on older systems or on rename failure it falls back to a copy operation so the client retains responsibility for cleaning up the download. The advisory's recommended durable design is to open the source with O_RDONLY|O_NOFOLLOW|O_CLOEXEC, fstat it for S_ISREG, and copy from that descriptor rather than renaming by path.

Know when Sparkle gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AISLE) PRIMARY 7.3 HIGH
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
vuln.today AI 7.0 HIGH

Local user stages the swap (AV:L, PR:L) and must win a TOCTOU race with a filename constraint (AC:H); successful root file operation yields full host compromise (C/I/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AISLE).

CVSS VectorVendor: AISLE

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 27, 2026 - 15:17 EUVD
CVE Published
Nov 27, 2026 - 13:44 cve.org
HIGH 7.3

DescriptionCVE.org

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.

Technical POC Analysis

CWE-367 (TOCTOU), with the advisory also tagging CWE-59 (Improper Link Resolution Before File Access).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-137938 is a local privilege escalation vulnerability in the Sparkle updater framework (versions through 2.9.5) that, if exploited, could allow an unprivileged local user to gain root access on macOS systems that use Sparkle for software updates. This affects the integrity and confidentiality of any Mac fleet relying on Sparkle-based update mechanisms, requiring management attention due to the potential for attackers to escalate privileges and compromise endpoints.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: limiting local user accounts, monitoring for suspicious symlink creation in cache directories, and ensuring the installer does not run in system domain unless necessary; however, no fully effective compensating control is known.

Threat Intelligence Overview

EPSS Score
0.2%
Top 98% exploitable
Prevalence
High
Widely-used macOS auto-update framework bundled in thousands of third-party apps
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy