CVE-2026-47122: Github.com/sparkle project/Sparkle Sparkle's AppInstaller Post-stage-1 XPC Listener Vulnerability
MODERATECVE-2026-47122 is a MODERATE (CVSS 4.2) sparkle's appinstaller post-stage-1 xpc listener vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting Github.com/sparkle project/Sparkle libraries in the SwiftURL ecosystem. The issue involves sparkle's appinstaller post-stage-1 xpc listener accepts unvalidated connections, allowing spoofed appcast item data injection. Remediation is available in the latest vendor maintenance releases.
CVE-2026-47122 at a Glance
Security Impact
CVSS: 4.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L).
How to Fix CVE-2026-47122
To remediate this vulnerability, upgrade all affected Github.com/sparkle project/Sparkle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/sparkle-project/Sparkle to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/sparkle-project/Sparkle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-47122, inspect your project dependencies for Github.com/sparkle project/Sparkle:
inspect dependencies for github.com/sparkle-project/Sparkle
Analyze the terminal output to locate any version of Github.com/sparkle project/Sparkle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In Github.com/sparkle project/Sparkle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47122 Affected Github.com/sparkle project/Sparkle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/sparkle-project/Sparkle
|
SwiftURL |
≤ 2.9.1
|
|
References
Frequently Asked Questions
What is CVE-2026-47122?
Which Github.com/sparkle project/Sparkle versions are affected?
What version fixes CVE-2026-47122?
Is github.com/sparkle-project/Sparkle affected?
What is the CVSS score of CVE-2026-47122?
What CWE is associated with CVE-2026-47122?
How can I check SwiftURL dependencies for CVE-2026-47122?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g3hp-f6mg-559v",
"modified" : "2026-05-29T19:47:19Z",
"published" : "2026-05-29T19:47:19Z",
"aliases" : [ "CVE-2026-47122" ],
"summary" : "Sparkle's AppInstaller post-stage-1 XPC listener accepts unvalidated connections, allowing spoofed appcast item data injection",
"details" : "## 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "SwiftURL",
"name" : "github.com/sparkle-project/Sparkle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.9.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sparkle-project/Sparkle/security/advisories/GHSA-g3hp-f6mg-559v"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sparkle-project/Sparkle"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306", "CWE-441" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-29T19:47:19Z",
"nvd_published_at" : null
}
}