# CVE-2026-47121: Sparkle: Binary delta apply intermediate-symlink traversal in malicious .delta

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T19:45:04.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-hg88-v3cw-3qrh
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sparkle-project Sparkle: < 2.9.2; before 2.9.2
- github.com/sparkle-project/Sparkle (SwiftURL): before 2.9.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`

## References

- <https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-hg88-v3cw-3qrh> (exploit, vendor-advisory, web)
- <https://github.com/sparkle-project/Sparkle/commit/fe7b718d0736f3e139e374e26fbca96f29e13bf0> (patch, web)
- <https://github.com/sparkle-project/Sparkle> (package)

## Sources

- CVE List: [CVE-2026-47121](https://www.cve.org/CVERecord?id=CVE-2026-47121), CVE Terms of Use, modified 2026-07-22
- GitHub Advisory Database: [GHSA-hg88-v3cw-3qrh](https://github.com/advisories/GHSA-hg88-v3cw-3qrh), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-47121](https://nvd.nist.gov/vuln/detail/CVE-2026-47121), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-47121 · Whole record: https://cve.day/CVE-2026-47121.json · Rebuilt by cve.day 2026-11-25T22:59:29.335Z
