4.2medium
Sparkle's AppInstaller post-stage-1 XPC listener accepts unvalidated connections, allowing spoofed appcast item data injection
- Severity
- 4.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.10% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-g3hp-f6mg-559v
Description
Sparkle is a software update framework for macOS. In versions up to and including 2.9.1, `Autoupdate/AppInstaller.m`'s `shouldAcceptNewConnection:` only enforces `SUCodeSigningVerifier validateConnection:` before stage 1 completes. After `_performedStage1Installation = YES`, new connections to the registered Mach service `<bundleId>-spki` are accepted from any local process without team-ID or code-signing checks. As of time of publication, no known patched versions are available.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sparkle-project Sparkle | <= 2.9.1, up to 2.9.1 | CVE List, NVD |
| github.com/sparkle-project/Sparkle (SwiftURL) | up to 2.9.1 | GitHub Advisory Database |
All scores
| GitHub_M | 4.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L |
| GitHub | 4.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L |
Classification
What each source says
CVE List
Sparkle is a software update framework for macOS. In versions up to and including 2.9.1, `Autoupdate/AppInstaller.m`'s `shouldAcceptNewConnection:` only enforces `SUCodeSigningVerifier validateConnection:` before stage 1 completes. After `_performedStage1Installation = YES`, new connections to the registered Mach service `<bundleId>-spki` are accepted from any local process without team-ID or code-signing checks. As of time of publication, no known patched versions are available.
GitHub Advisory Database
Summary
AppInstaller post-stage-1 XPC listener accepts unvalidated connections, allowing spoofed appcast item data injection.
Details
Autoupdate/AppInstaller.m's shouldAcceptNewConnection: only enforces SUCodeSigningVerifier validateConnection: before stage 1 completes. After _performedStage1Installation = YES, new connections to the registered Mach service <bundleId>-spki are accepted from any local process without team-ID or code-signing checks.
The following chain of events enables an attacker to inject a spoofed SPUSentUpdateAppcastItemData payload:
- Installer finishes unarchiving the update successfully (
_willCompleteInstallationis set). - The app responsible for updating the bundle crashes or is forcefully quit before it has a chance to send
SPUSentUpdateAppcastItemDatato the installer. There is no user interaction between the prior step and this one, so the timing window is tight. - After stage 1 of the installer is performed (
_performedStage1Installation = YES), but before final installation completes (since all services are cleaned up by then), an attacker process connects to the<bundleId>-spkiMach service - no code-signing validation is enforced - and sends a spoofedSPUSentUpdateAppcastItemDatamessage containing an attacker-craftedSUAppcastItem. - A Sparkle-aware app that checks for updates on the bundle being updated launches before installation completes. The progress agent re-broadcasts the spoofed
SUAppcastItemon its<bundleId>-spksstatus service, and the launching app displays attacker-controlled release notes (name, version, critical flag).
Note: Sparkle can be used to update other app bundles, so the "app doing the updating" and the "app being updated" are not necessarily the same bundle.
In the system-domain case (SPUUsesSystemDomainForBundlePath = true), the AppInstaller runs as root via SMJobSubmit to kSMDomainSystemLaunchd, and the Mach service is reachable by any local user process.
Affected versions: 2.x branch including 2.9.1.
Impact
A local user-level process can inject a forged SUAppcastItem (arbitrary name, version, critical flag) into the progress agent's status broadcast. Other Sparkle-aware clients on the system will display attacker-controlled release notes as authoritative installation state.
The integrity of the installed code is not affected - the bundle moved into place is the legitimate, signature-validated update from stage 1. The impact is limited to UI spoofing of installation metadata.
Remediation
Enforce SUCodeSigningVerifier validateConnection: on all new connections regardless of installation stage, or disallow SPUSentUpdateAppcastItemData after the active connection invalidates.
NVD (es)
Sparkle es un framework de actualización de software para macOS. En versiones hasta la 2.9.1 inclusive, el ’shouldAcceptNewConnection:’ de ’Autoupdate/AppInstaller.m’ solo aplica ’SUCodeSigningVerifier validateConnection:’ antes de que la etapa 1 se complete. Después de que ’_performedStage1Installation = YES’, se aceptan nuevas conexiones al servicio Mach registrado ’[bundleId]-spki’ desde cualquier proceso local sin comprobaciones de ID de equipo o de firma de código. Al momento de la publicación, no hay versiones parcheadas conocidas disponibles.
References
| https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-g3hp-f6mg-559v | mitigation, vendor-advisory, web | |
| https://github.com/sparkle-project/Sparkle | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47122 changed 2026-07-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g3hp-f6mg-559v changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-47122 changed 2026-10-24 | Public domain |