CVE-2026-34157: Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins in github.com/wailsapp/wails
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-47hv-j4px-h3c9, GO-2026-6862
Summary
Wails contains an Origin bypass vulnerability in wildcardPatternToRegex affecting BindingsAllowedOrigins within the v2 branch. Developers and maintainers using affected versions of the github.com/wailsapp/wails/v2 package should review and update their configurations.
Who is affected
Applications using `BindingsAllowedOrigins` with wildcard patterns are susceptible to Origin bypasses via suffix matches. This allows unauthorized cross-origin requests under specific pattern matching conditions.
Exploitability
The EPSS score is 0.005 (percentile 0.434), indicating a low probability of exploitation in the wild. CISA KEV status is no, meaning there is no documented active exploitation.
Remediation
- Upgrade github.com/wailsapp/wails/v2 to version 2.13.0 or later.
How to check your project
- Inspect project dependency files (such as go.mod) to determine if github.com/wailsapp/wails/v2 is used within the version range from 2.0.0 up to 2.12.5.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/wailsapp/wails/v2 |
>= 2.0.0, < 2.13.0 | 2.13.0 | go get github.com/wailsapp/wails/[email protected] |
FAQ
What packages are affected?
Go package github.com/wailsapp/wails/v2 versions introduced at 2.0.0 and fixed before 2.13.0.
Is there active exploitation documented?
No, CISA KEV status is no, and no active exploitation is documented.
How do I fix this vulnerability?
Upgrade the github.com/wailsapp/wails/v2 dependency to version 2.13.0.
Original advisory description
References
- ADVISORY https://github.com/wailsapp/wails/security/advisories/GHSA-47hv-j4px-h3c9
- FIX https://github.com/wailsapp/wails/commit/bcc5941b72fdab6a13942b58871a2696faa85b81
- FIX https://github.com/wailsapp/wails/pull/5074
Source records: GO-2026-6862 (OSV.dev) · EPSS by FIRST, 2026-11-26.