Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls content in app iframe
-
DeliveryPost message to webkit.messageHandlers.external
-
ExploitBypass top-level-only origin validation
-
ExecutionInvoke bound Go methods and Wails runtime over IPC
-
ImpactAbuse exposed application capabilities
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Requires a Linux build of a Wails v2 application at version <= 2.17.0 that loads content the operator does not fully trust into an iframe - the advisory names OAuth frames, preview panes, documentation viewers, and third-party widgets as exposing scenarios; the attacker must be able to run script in that embedded frame. Realistic limiting factors: this is NOT a default-configuration remote hit - an app that never embeds untrusted or script-capable iframe content is not exposed; Windows and macOS builds are unaffected because they use the real sender frame; impact is capped by whichever Go methods and runtime operations the application binds (no unconditional OS command execution established); sandboxing the iframe with allow-scripts alone does not mitigate; and Wails v3 did not reproduce the bypass. Note the residual condition even after patching: same-origin child frames still share the parent's bridge authority. |
| Impact | The input CVSS 4.0 vector (7.6, High) encodes a genuinely conditional flaw: AV:N but AC:H, AT:P and UI:P, meaning network reachability is offset by preconditions the attacker does not fully control. No EPSS score and no CISA KEV entry are provided, and the flaw is not listed as actively exploited, so there is no signal of widespread or automated exploitation - consistent with vuln.today's 'this_week' priority rather than an emergency/act_now label. The decisive risk gate is architectural, not technical difficulty: exploitation only matters if a Linux Wails v2 app loads attacker-influenced content inside an iframe, and the advisory explicitly states no unconditional arbitrary OS command execution was established - impact is bounded by whichever Go methods the application binds. Net assessment: a real, patch-this-week issue for the specific population of Linux Wails apps embedding untrusted iframe content (OAuth, preview panes, third-party widgets), but not a drop-everything internet-wide threat. One caveat to verify: PR:N in the vector reflects that no application authentication is needed once hostile script runs in a frame, yet the practical prerequisite (getting that frame loaded) behaves more like a deployment condition - the AC:H/AT:P/UI:P metrics, not PR, carry that limitation. |
| Exploit ScenarioDerived | A Linux Wails v2 desktop application embeds not-fully-trusted content in an iframe (e.g. an OAuth login frame, documentation viewer, or third-party widget). Script in that child frame posts a message to window.webkit.messageHandlers.external; because WebKitGTK does not identify the sending frame and Wails validated only the top-level page origin, the message passes the origin check and invokes bound Go methods and Wails runtime operations. The fix commit ships a native regression probe (testdata/iframeprobe) that demonstrates the cross-origin child-frame call, but no standalone weaponized exploit is cited in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Origin validation bypass in the Linux WebKitGTK IPC bridge of Wails v2 (all versions through 2.17.0) lets script running inside an embedded child frame reach the privileged window.webkit.messageHandlers.external channel and invoke bound Go methods and Wails runtime operations with the trust of the top-level page. Only Linux builds that load content the operator does not fully trust into an iframe (OAuth frames, preview panes, documentation viewers, third-party widgets) are exposed; Windows and macOS builds validate the real sender frame and are unaffected, and the bypass was not reproduced against Wails v3. Exploitation is conditional rather than a default-configuration remote hit, impact is capped by whichever methods the application binds (no unconditional OS command execution was established), and no public exploit code was identified at time of analysis; the issue is fixed in v2.17.1.
RemediationAI
Vendor-released patch: upgrade to Wails v2.17.1 (fixed version stated in the advisory and release notes), which injects the child-frame guard into every frame at document start and sets ExpectedWebViewHost. The upstream fix is delivered by commits 99fd52407fc2be283e3572920749975dff98c14c and 0d660b45a2e2ad82ecc3947d30806505c1837fde, published as https://github.com/wailsapp/wails/releases/tag/v2.17.1; the advisory is at https://github.com/wailsapp/wails/security/advisories/GHSA-r5j2-ghh9-2jqw. If upgrading is not immediately possible, the vendor's stated workaround is to stop loading untrusted or script-capable iframe content in a Linux Wails v2 window - the trade-off is loss of any embedded OAuth, preview or third-party widget functionality, and the advisory notes that sandboxing the iframe with allow-scripts alone is not sufficient, so sandbox flags are not a substitute for the upgrade. Note that even after patching, child frames that are same-origin with the application still share its bridge authority, so applications should avoid rendering same-origin script-capable content they do not trust and should keep the set of bound Go methods minimal, since impact is bounded by what the application exposes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wails v2 embeds a WebKitGTK webview on Linux and exposes a native script message handler at window.webkit.messageHandlers.external, over which the JavaScript frontend sends serialized calls (C{...}) to bound Go methods and runtime operations. The root cause is CWE-346 (origin validation error), with the upstream advisory also classifying it as CWE-284: WebKitGTK's native callback does not report which frame posted a message, so the handler validated the origin of the top-level webview URI (window.c line 50-75 in v2.17.0) instead of the calling frame. Any cross-origin or opaque sandboxed iframe that can run script could therefore post messages that satisfied the top-level check and entered the privileged bridge. The upstream fix in v2.17.1 injects a small guard script into every frame at document start (WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES, WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START) that replaces window.webkit.messageHandlers.external with a frozen no-op for any frame where window !== window.top, and additionally sets ExpectedWebViewHost from the start URL to match macOS behaviour. The guard is a JavaScript-level freeze plus a C-level user script, not a change to how WebKitGTK attributes sender frames; the advisory explicitly states the limitation that same-origin child frames share the application's browser-origin authority and can still reach the parent's bridge (for example via window.top), so this is isolation from cross-origin and opaque frames only.
Know when Wails gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
AC:H and UI:R because exploitation depends on the app loading attacker-influenceable iframe content (non-default); PR:N since no app authentication is needed once script runs in the frame; C/I:H, A:L reflect bound-method invocation bounded by exposed capabilities.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-346 (Origin Validation Error) in the Linux WebKitGTK frontend of Wails v2.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-136628 is a high-severity origin validation bypass in the WebKitGTK IPC bridge of Wails v2 (up to 2.17.0) on Linux. It allows untrusted content in iframes (e.g., OAuth frames, previews) to invoke privileged Go methods, potentially leading to unauthorized actions. Only Linux builds loading untrusted content into iframes are affected; Windows/macOS and Wails v3 are not. Leadership should prioritize patching Linux deployments to prevent potential data breaches or operational disruptions.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-134873
GHSA-45f4-wwcv-wj82
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB