r/iOSProgramming • u/kantorcodes1 • 11h ago
News Sparkle 2.9.6 fixes two flaws that let a local user abuse root updates (CVE-2026-137938, CVE-2026-137939)
Sparkle 2.9.6 is out, and it fixes two high-severity flaws in the update path, CVE-2026-137938 and CVE-2026-137939.
Both flaws let a local user with an ordinary account abuse a Sparkle update that runs as root. The first is a race in the installer: Sparkle checks where a downloaded update came from and resolves the link, then a root installer moves the file using the unresolved path. Swap a folder in that path for a link between the check and the move, and the root installer can be pointed at a protected file. The second is in the root updater's launcher cache, which Sparkle builds inside the logged-in user's home folder. It deletes and creates files there without refusing links, so a local user can plant a link and choose where root deletes old files and creates new ones.
An app that updates inside the user's own account does not gain root from these. The exposure is updaters that run as root: daemons, CLI tools, and helpers installed for the whole machine. The second flaw starts at Sparkle 2.2.0, so older builds do not carry it. 2.9.6 carries neither.
There is no setting that closes this and no user-side patch. The vulnerable code ships inside each app, so the fix only reaches a machine when the app maker ships an update with the new framework. If you maintain a Mac app, daemon, or CLI tool that updates with Sparkle, update to 2.9.6 and release.
Write-up with a one-command version check: https://hol.org/blog/cve-2026-137938-sparkle-macos-updater-root-escalation