CVE-2026-136628
Wails before 2.17.1 on Linux contains an origin validation error in the sendMessageToBackend WebKitGTK handler that allows child-frame scripts to invoke the pr…
Impact
Wails before 2.17.1 on Linux contains an origin validation error in the sendMessageToBackend WebKitGTK handler that allows child-frame scripts to invoke the privileged IPC channel. Attackers controlling content loaded in an iframe can post messages that pass the top-level URI origin check and call bound Go methods and Wails runtime operations.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, low risk of outages.
Affected products (Wailsapp)
| Product | Affected versions |
|---|---|
| Wails | before 2.17.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/wailsapp/wails/security/advisories/GHSA-r5j2-ghh9-2jqw
- https://github.com/wailsapp/wails/commit/99fd52407fc2be283e3572920749975dff98c14c
- https://github.com/wailsapp/wails/commit/0d660b45a2e2ad82ecc3947d30806505c1837fde
- https://github.com/wailsapp/wails/releases/tag/v2.17.1
- https://github.com/wailsapp/wails/blob/v2.17.0/v2/internal/frontend/desktop/linux/window.c#L50-L75
- https://www.vulncheck.com/advisories/wails-before-2.17.1-on-linux-origin-validation-error-via-ipc-bridge
- https://github.com/advisories/GHSA-45f4-wwcv-wj82
- https://nvd.nist.gov/vuln/detail/CVE-2026-136628