[ CVE-2026-34157 · Published 5 Nov 2026 ]

Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins

CVSS 7.6 EPSS <1% Fix available

[ Description ]Official 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.

[ Fixes ]How to fix it

Fixed versions

  • wailsapp wails: upgrade to 2.13.0 or laterEarlier versions are listed as affected

From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.

Vendor advisories and patches

[ Packages ]Affected open-source packages

  • github.com/wailsapp/wails/v2 goAffected >= 2.0.0, < 2.13.0 · fixed in 2.13.0 · GHSA-47hv-j4px-h3c9