Skip to content
OpenAdvisories
High · 7.6 Public exploit CVE-2026-34157 EUVD-2026-117787GHSA-47hv-j4px-h3c9GO-2026-6862

Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins

Published Nov 5, 2026 · Updated Nov 9, 2026 · Assigned by GitHub_M

Description

Wails is a framework for building desktop applications using Go and web technologies. From 2.0.0 until 2.13.0, BindingsAllowedOrigins in v2/internal/frontend/originvalidator/originValidator.go passes wildcard patterns to wildcardPatternToRegex, which expands every asterisk to an unrestricted regular-expression match. When an application configures a trailing or partial-label wildcard immediately after an allowed domain, an attacker-controlled lookalike origin can match the allowed suffix and invoke bound Go methods through IPC. A complete-component subdomain wildcard is an unaffected configuration. The resulting confidentiality, integrity, and availability impact depends on the file, database, command, credential, or other operations exposed by the application's bound methods. This issue is fixed in version 2.13.0.

Affected products

VendorProductAffectedFixed
wailsapp wails >= 2.0.0, < 2.13.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/wailsapp/wails/v2 >= 2.0.0, < 2.13.0 2.13.0 GHSA-47hv-j4px-h3c9

References