| Title | https://github.com/Molunerfinn/ PicGo commit 78283f490874eed70f99f0639104a68416bbc175 Improper Authorization in Handler for Custom URL Scheme |
|---|
| Description | Remote notice feed can invoke arbitrary OS protocol handlers at startup
Affected version: confirmed on commit `78283f490874eed70f99f0639104a68416bbc175` (`master` branch, current HEAD as of 2026-10-31).
## Summary
PicGo fetches a remote notice document at startup (`https://release.picgo.app/remote-notice.yml`) and automatically runs any `OPEN_URL`/`COMMON`/`SHOW_NOTICE` action it contains. All three action handlers pass the action's `url` field straight to Electron's `shell.openExternal()` with no scheme validation. `shell.openExternal` dispatches whatever scheme is given to the OS's own protocol-handler resolution, not just `http(s)`. The notice document itself is fetched over plain HTTPS with no additional signature or integrity check.
## Details
`src/main/apis/app/remoteNotice/index.ts`:
```ts
const REMOTE_NOTICE_URL = isDev ? 'http://localhost:8181/remote-notice.json' : 'https://release.picgo.app/remote-notice.yml'
...
case IRemoteNoticeActionType.OPEN_URL:
shell.openExternal(action.data?.url || '')
break
case IRemoteNoticeActionType.COMMON:
...
if (action.data?.url) {
shell.openExternal(action.data.url)
}
break
case IRemoteNoticeActionType.SHOW_NOTICE:
showNotification({
...
callback () {
if (action.data?.url) {
shell.openExternal(action.data.url)
}
}
})
break
```
`init()` runs at app startup and automatically triggers `APP_START`-hooked actions (`src/main/lifeCycle/index.ts`), so no user interaction is required for `OPEN_URL`/`COMMON` actions to fire. There is no allowlist on the URL's scheme/host anywhere in this file, and no cryptographic signature on the notice document beyond ordinary TLS.
## Steps To Reproduce
(available upon request)
## Impact
Whoever controls the content served at `release.picgo.app/remote-notice.yml` (the vendor's own infrastructure, or anyone able to intercept/replace that response, e.g. via a compromised CDN edge or cache) can make every running PicGo instance invoke an arbitrary OS-registered custom URL scheme handler at next startup, with zero user interaction. Depending on what protocol handlers are registered on the victim's OS, this can range from launching an unexpected application to triggering actions in a vulnerable third-party handler. This is a missing defense-in-depth control (no scheme allowlist, no signed payload) independent of how difficult compromising the vendor endpoint itself is.
|
|---|
| Source | ⚠️ https://github.com/Molunerfinn/PicGo/issues/1458 |
|---|
| User | carfeii (UID 97470) |
|---|
| Submission | 11/13/2026 15:44 (23 days ago) |
|---|
| Moderation | 12/06/2026 22:49 (23 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 450911 [Molunerfinn PicGo up to 3.0.3 Remote Notice index.ts RemoteNoticeHandler.doActions redirect] |
|---|
| Points | 20 |
|---|