{"id":"CVE-2026-47121","published":"2026-07-21T13:53:05Z","modified":"2026-07-22T14:30:47Z","title":"Sparkle: Binary delta apply intermediate-symlink traversal in malicious .delta","vendor":"sparkle-project","product":"Sparkle","tier":"tail","description":{"text":"Sparkle is a software update framework for macOS. Prior to version 2.9.2, `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. Version 2.9.2 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.28064,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-hg88-v3cw-3qrh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sparkle-project/Sparkle/commit/fe7b718d0736f3e139e374e26fbca96f29e13bf0","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":5.61},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"sparkle-project","affectedVersions":[{"vendor":"sparkle-project","product":"Sparkle","versions":["< 2.9.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:30:24.947456Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"SwiftURL","package":"github.com/sparkle-project/Sparkle","vulnerableRanges":["<2.9.2"],"patched":["2.9.2"],"from":["GHSA-hg88-v3cw-3qrh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-46259","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-0509","published":"2025-02-04","fixed":"2.6.4","kev":false,"link":{"from":"CVE-2025-0509","to":"CVE-2026-47121","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"SwiftURL:github.com/sparkle-project/Sparkle","fromFixed":"2.6.4","toFixed":"2.9.2","daysApart":532}]}},{"cve":"CVE-2026-47121","published":"2026-07-21","fixed":"2.9.2","kev":false}],"package":"SwiftURL:github.com/sparkle-project/Sparkle"}}