{"id":"CVE-2026-47122","aliases":["CVE-2026-47122","GHSA-g3hp-f6mg-559v"],"related":[],"kind":"vulnerability","state":"published","title":"Sparkle's AppInstaller post-stage-1 XPC listener accepts unvalidated connections, allowing spoofed appcast item data injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAppInstaller post-stage-1 XPC listener accepts unvalidated connections, allowing spoofed appcast item data injection.\n\n## Details\n\n`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.\n\nThe following chain of events enables an attacker to inject a spoofed `SPUSentUpdateAppcastItemData` payload:\n\n1. Installer finishes unarchiving the update successfully (`_willCompleteInstallation` is set).\n2. The app responsible for updating the bundle crashes or is forcefully quit before it has a chance to send `SPUSentUpdateAppcastItemData` to the installer. There is no user interaction between the prior step and this one, so the timing window is tight.\n3. 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>-spki` Mach service - no code-signing validation is enforced - and sends a spoofed `SPUSentUpdateAppcastItemData` message containing an attacker-crafted `SUAppcastItem`.\n4. A Sparkle-aware app that checks for updates on the bundle being updated launches before installation completes. The progress agent re-broadcasts the spoofed `SUAppcastItem` on its `<bundleId>-spks` status service, and the launching app displays attacker-controlled release notes (name, version, critical flag).\n\nNote: 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.\n\nIn 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.\n\nAffected versions: 2.x branch including 2.9.1.\n\n## Impact\n\nA 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.\n\nThe 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.\n\n## Remediation\n\nEnforce `SUCodeSigningVerifier validateConnection:` on all new connections regardless of installation stage, or disallow `SPUSentUpdateAppcastItemData` after the active connection invalidates.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-05-29T19:47:19.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-306","CWE-441"],"affected":[{"ranges":[{"version":"<= 2.9.1","status":"affected"}],"vendor":"sparkle-project","product":"Sparkle","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.9.1"}],"ecosystem":"SwiftURL","package":"github.com/sparkle-project/Sparkle","purl":"pkg:swift/github.com/sparkle-project/Sparkle","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.9.1"}],"vendor":"sparkle-project","product":"sparkle","cpe":"cpe:2.3:a:sparkle-project:sparkle:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-g3hp-f6mg-559v","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sparkle-project/Sparkle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-21T14:53:43.891Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47122","url":"https://www.cve.org/CVERecord?id=CVE-2026-47122","licence":"CVE Terms of Use","modified":"2026-07-21T14:55:16.991Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g3hp-f6mg-559v","url":"https://github.com/advisories/GHSA-g3hp-f6mg-559v","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47122","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47122","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:29.338Z","epss":{"score":0.00098,"percentile":0.00794,"date":"2026-12-01T12:00:22.000Z"}}