Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise developer EdDSA signing key
-
DeliveryCraft malicious .delta with symlink + extract item pair
-
ExploitHost signed .delta on attacker-controlled appcast feed
-
InstallVictim application fetches and verifies update (signature passes)
-
C2AppInstaller plants symlink inside destination tree pointing to /Library/LaunchDaemons
-
Executefopen() resolves symlink and writes attacker plist to /Library/LaunchDaemons
-
ImpactLaunchDaemon executes as root on reboot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires possession of the target application's EdDSA private signing key - either through direct compromise of the developer's key material or a separate vulnerability bypassing SUSignatureVerifier (none identified in the advisory review). The delta-apply path must be active, meaning the attacker must be able to serve a .delta enclosure to the victim's Sparkle updater and have the victim accept or trigger the update (UI:R). For root-level arbitrary write, the AppInstaller must be running in the system domain (i.e., the app is installed at the system level, not user level). User-domain installs are also exploitable for user-level LaunchAgent persistence targeting ~/Library/LaunchAgents/. The attack does not require any non-default Sparkle configuration beyond delta updates being enabled, which is the standard deployment. Limiting factors are: (1) EdDSA key compromise is a hard prerequisite with no known bypass, (2) user interaction is required to trigger the update, and (3) the post-exploitation file hash check covers only the destination tree, not escaped files, but escaped files persist regardless of hash check outcome. |
| Impact | The CVSS 6.1 score reflects the genuine exploitation barrier: AC:H encodes the requirement for EdDSA signing-key compromise, which is itself a severe precondition. The S:C (scope changed) and I:H (high integrity) components are accurate - successful exploitation escapes the destination sandbox and achieves arbitrary file write. EPSS data is not available in the provided intelligence. No CISA KEV listing exists, consistent with no known active exploitation. A detailed proof-of-concept is included in the GHSA advisory, but it explicitly requires a valid EdDSA signature, so the POC is not usable without a stolen key. Real-world risk is therefore lower than the I:H integrity rating implies for most deployments - the primary concern is supply-chain scenarios where a developer's signing key has been exfiltrated. However, for any Sparkle-integrated app developer whose key is compromised, this vulnerability upgrades the attacker's primitive from 'replace the app bundle' to 'arbitrary root-level file write,' which is a qualitatively broader and more dangerous capability. The UI:R requirement means passive exploitation is not possible; the victim must initiate or accept an update. |
| Exploit ScenarioDerived | An attacker who has obtained a developer's Sparkle EdDSA private signing key crafts a malicious .delta archive containing two items: a symlink item at Contents/Resources/escape pointing to /Library/LaunchDaemons, and a regular file item at Contents/Resources/escape/com.attacker.persistence.plist containing a LaunchDaemon plist. The archive is signed with the stolen key, published to a malicious appcast feed, and the victim application's Sparkle updater is directed to that feed. When a user accepts or the system triggers an update, AppInstaller (running as root for system-domain installs) processes the delta: the shallow symlink check passes for both items, and fopen() creates /Library/LaunchDaemons/com.attacker.persistence.plist, which is executed as root on next reboot. A fully working proof-of-concept demonstrating this exact sequence is documented in GHSA-hg88-v3cw-3qrh. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Intermediate-symlink traversal in Sparkle's binary delta apply pipeline allows a holder of a compromised EdDSA signing key to achieve arbitrary file write at the privilege level of the AppInstaller process - root for system-domain installs. The flaw exists in SUBinaryDeltaApply.m, which only inspects the immediate parent directory for symlink status rather than all intermediate path components; a .delta archive item can first plant a symlink (e.g., pointing to /Library/LaunchDaemons) and a second item can then write through it via fopen(), which follows kernel-resolved symlinks unconditionally. A fully functional proof-of-concept demonstrating LaunchDaemon persistence installation is detailed in GHSA-hg88-v3cw-3qrh, though it requires a valid EdDSA signature, meaning public exploit utility is gated on signing key possession. No vendor-released patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; the fixed version field in the advisory is listed as None. The GHSA advisory at https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-hg88-v3cw-3qrh recommends that SUBinaryDeltaApply.m be patched to walk every component of relativePath and reject if any intermediate component resolves to a symlink, rather than only checking the immediate parent; alternatively, prohibiting symlink creation entirely during delta apply would eliminate the attack surface. App developers integrating Sparkle should monitor the upstream repository for a patched release and update immediately when available. As an interim compensating control, operators can disable delta updates in Sparkle's configuration by removing or not hosting .delta enclosures in the appcast feed, forcing full-bundle updates only - this eliminates the vulnerable code path entirely but increases update bandwidth. Restricting the EdDSA signing key to HSM-backed storage and auditing key access logs reduces the likelihood of key compromise that would make this vulnerability exploitable.
Affected VersionsENISA
Affected Packages
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 a widely-deployed macOS application auto-update framework (pkg:swift/github.com_sparkle-project_sparkle). Its binary delta update mechanism allows incremental app updates via .delta archives processed by SUBinaryDeltaApply.m and SPUSparkleDeltaArchive.m. CWE-22 (Path Traversal) manifests here as a shallow symlink check: the code verifies that the immediate parent of each extracted item is not a symlink, but does not recursively check every intermediate path component. Separately, extractItem: in SPUSparkleDeltaArchive.m accepts archive-supplied symlink targets verbatim (absolute paths and '..' sequences are not filtered). The combination means a .delta can plant a symlink at e.g. Contents/Resources/escape -> /Library/LaunchDaemons, and a subsequent Extract item for Contents/Resources/escape/foo.plist will pass all path checks - the intermediate directory resolves to NSFileTypeDirectory (not NSFileTypeSymbolicLink) - and fopen() will create the file at the kernel-resolved absolute path outside the destination tree. The chmod follow-up also follows symlinks, granting attacker-chosen permissions on the escaped file.
Know when the next one hits your stack
- 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
AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
Primary rating from Vendor (https://github.com/sparkle-project/Sparkle) · only source for this CVE.
CVSS VectorVendor: https://github.com/sparkle-project/Sparkle
Lifecycle Timeline
1DescriptionCVE.org
Summary
Binary delta apply intermediate-symlink traversal in malicious .delta
Autoupdate/SUBinaryDeltaApply.m enforces relativePath.pathComponents containsObject:@".." and rejects writes whose immediate parent directory IS itself a symbolic link, but does not detect symlinks deeper in the relative path. Autoupdate/SPUSparkleDeltaArchive.m's extractItem: will create symlinks in the destination tree from archive content (no .. check on the symlink target), and a subsequent Extract item targeting <symlink>/foo/bar then escapes the destination tree via fopen(path, "wb") because the kernel resolves the intermediate symlink during the open call.
This is a defense-in-depth issue: exploitation requires a maliciously-crafted .delta that passes EdDSA signature verification, i.e. EdDSA private-key compromise. With the AppInstaller running as root for system-domain installs, it gives the holder of a stolen signing key arbitrary file write at root level via the delta-apply path, which is a strictly broader primitive than the "drop-in replacement bundle" install they would otherwise have.
Affected versions: 1.x (master branch), 2.x branch including 2.9.1.
Details
Symlink writeable from archive
Autoupdate/SPUSparkleDeltaArchive.m:557-678's extractItem: handles symlinks if the archive item carries S_ISLNK(mode):
} else {
// Link files
if (PARTIAL_IO_CHUNK_SIZE < decodedLength) { ...too long... }
if (decodedLength > PATH_MAX) { ...too long... }
char buffer[PATH_MAX + 1] = {0};
if (![self _readBuffer:buffer length:(int32_t)decodedLength]) { ... }
NSString *destinationPath = [fileManager stringWithFileSystemRepresentation:buffer length:decodedLength];
[fileManager removeItemAtPath:itemFilePath error:NULL];
NSError *createLinkError = nil;
if (![fileManager createSymbolicLinkAtPath:itemFilePath withDestinationPath:destinationPath error:&createLinkError]) {
_error = createLinkError;
return NO;
}
...
lchmod(itemFilePathString, mode);
}The link's destinationPath is taken verbatim from the archive content with only a length cap; absolute paths and .. are accepted. After this item is processed, the destination tree contains a symlink that points outside it.
Parent-symlink check is shallow
Autoupdate/SUBinaryDeltaApply.m:177-207:
[archive enumerateItems:^(SPUDeltaArchiveItem *item, BOOL *stop) {
NSString *relativePath = item.relativeFilePath;
if ([relativePath.pathComponents containsObject:@".."]) {
...reject...
}
NSString *sourceFilePath = [source stringByAppendingPathComponent:relativePath];
NSString *destinationFilePath = [destination stringByAppendingPathComponent:relativePath];
{
NSString *destinationParentDirectory = destinationFilePath.stringByDeletingLastPathComponent;
NSDictionary<NSFileAttributeKey, id> *destinationParentDirectoryAttributes = [fileManager attributesOfItemAtPath:destinationParentDirectory error:NULL];
// It is OK for the directory parent to not exist if it has already been removed
if (destinationParentDirectoryAttributes != nil) {
NSString *fileType = destinationParentDirectoryAttributes[NSFileType];
if ([fileType isEqualToString:NSFileTypeSymbolicLink]) {
...reject...
}
}
}
...
}];Two gaps:
- The check inspects only
destinationParentDirectory(one level up), not all intermediate components. For a relative patha/b/c.txt, the kernel resolves through any symlink at componenta.attributesOfItemAtPath:with the resolved path returns attributes of the resolved-through directory, which isNSFileTypeDirectory(notNSFileTypeSymbolicLink), so the check passes. - The check is skipped entirely if
destinationParentDirectoryAttributes == nil(line 195). When the symlink target is to a directory that does not contain the named subpath, the parent appears not to exist and the check is skipped. The subsequentfopen(path, "wb")then creates the file along the resolved path.
Write primitive
For an item with SPUDeltaItemCommandExtract set, SUBinaryDeltaApply.m:354-365 calls [archive extractItem:item] which goes through SPUSparkleDeltaArchive.m:574-622 for regular files:
[fileManager removeItemAtPath:itemFilePath error:NULL];
char itemFilePathString[PATH_MAX + 1] = {0};
if (![itemFilePath getFileSystemRepresentation:itemFilePathString maxLength:sizeof(itemFilePathString) - 1]) { ... }
FILE *outputFile = fopen(itemFilePathString, "wb");fopen(path, "wb") follows symlinks at every path component and creates/truncates the file at the resolved path. If <dest>/a is a symlink to /Library/LaunchDaemons (for a root install) and the relative path is a/com.attacker.plist, the call writes /Library/LaunchDaemons/com.attacker.plist.
The chmod follow-up at SUBinaryDeltaApply.m:335 (chmod(destinationFilePath.fileSystemRepresentation, sourceFileInfo.st_mode)) and SPUSparkleDeltaArchive.m:619 (chmod(itemFilePathString, mode)) likewise follows symlinks, so attacker-chosen permissions land on the attacker-chosen target.
Threat model
This primitive is reachable only when the archive can pass EdDSA signature verification, which requires either:
- The developer's private signing key has been compromised, or
- A separate vulnerability allows bypassing
SUSignatureVerifier(none was identified in this review).
Given a stolen private key, the attacker already has the ability to push a normal full-bundle update. The delta-apply traversal grants strictly more: arbitrary file write into directories outside <destination>. When the AppInstaller runs in the system domain (root), this becomes arbitrary file write as root, which is qualitatively broader than "replace the app bundle".
It is therefore worth fixing as a defense-in-depth measure, even though the prerequisite (key compromise) is itself a worst case.
PoC
The PoC requires a valid EdDSA signature on the malicious .delta archive. With a test signing key under your control (any Sparkle test fixture key), generate a delta as follows:
- Construct the archive payload with two items, in this order, using the
SPUSparkleDeltaArchivewriter (or by hand-assembling the format described inSPUSparkleDeltaArchive.mandSPUDeltaArchiveProtocol.h):
Item 1:
relativeFilePath = "Contents/Resources/escape"
commands = SPUDeltaItemCommandExtract (= 0x02)
mode = S_IFLNK | 0o755 (= 0xA1ED)
payload = "/Library/LaunchDaemons"
Item 2:
relativeFilePath = "Contents/Resources/escape/com.attacker.persistence.plist"
commands = SPUDeltaItemCommandExtract (= 0x02)
mode = S_IFREG | 0o644 (= 0x81A4)
payload = <attacker-chosen LaunchDaemon plist bytes>- Sign the archive with the test EdDSA key, publish it as a delta enclosure with matching
sparkle:edSignature, and host it from a feed pointed at by a Sparkle host whose old-bundle public key matches. - Trigger a system-domain install. The flow:
applyBinaryDeltaenumerates items.- Item 1 passes the
..check (the path components areContents,Resources,escape- no..). The parentContents/Resourcesexists in the source-copy and is a directory, not a symlink. The check passes.extractItem:forS_ISLNK(mode)callscreateSymbolicLinkAtPath:withDestinationPath:and creates<dest>/Contents/Resources/escape -> /Library/LaunchDaemons. - Item 2 passes the
..check. Its parent<dest>/Contents/Resources/escaperesolves through the just-created symlink to/Library/LaunchDaemons, whose attributes are returned asNSFileTypeDirectory(not symlink). The check passes. extractItem:forS_ISREG(mode)doesremoveItemAtPath(no-op, target file does not yet exist) thenfopen("<dest>/Contents/Resources/escape/com.attacker.persistence.plist", "wb"). The kernel resolves the symlink and creates/Library/LaunchDaemons/com.attacker.persistence.plist.- The hash check at the end of
applyBinaryDelta(getRawHashOfTreeWithVersion(afterHash, finalDestination, ...)) is computed only againstfinalDestination. The file dropped at/Library/LaunchDaemons/is outside that tree and does not affect the hash. The hash check still passes (or, if it does not because the dest tree is missing the file, the dropped LaunchDaemon plist is still left behind - destination cleanup at line 471 only removesfinalDestination, not the escape target).
- Observed result: a root-owned LaunchDaemon plist exists at
/Library/LaunchDaemons/com.attacker.persistence.plist. On next reboot it is launched as root.
A simpler proof-of-concept that does not require a system-domain install: target a user-writable directory (e.g. ~/Library/LaunchAgents/), use a user-domain Sparkle host. The same item-pair lands a user-level LaunchAgent at next login.
Impact
Defense-in-depth gap: the holder of a compromised EdDSA signing key gains a primitive (arbitrary file write at the privilege of the AppInstaller process) that exceeds what an "install a malicious bundle" path provides. For system-domain installs this is arbitrary file write as root, including locations outside the target app bundle (/Library/LaunchDaemons, /etc/... subpaths that exist as directories, /usr/local/, etc.).
Recommended fix: in SUBinaryDeltaApply.m, walk every component of relativePath and reject if any intermediate component is a symlink (or refuse to allow the archive to create symlinks during apply at all, given the limited number of legitimate use cases for symlinks inside an .app bundle and the existing lchmod already in place). Cleanup on failure should also removeTree along the symlink target, not just finalDestination.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-46259
GHSA-hg88-v3cw-3qrh
NVD
CVE.org
EPSS
VulDB
Exploit-DB