CVE-2026-34157
published high CVSS 4.0 · 7.6Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wailsapp | — | wails>= 2.0.0, < 2.13.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wailsapp | wails | >= 2.0.0, < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-625 CWE-625: Permissive Regular Expression
References
4Provider assertions
2GitHub_M · cna
Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2496cedd519b1ebaebc24f45d83535a9580efcdf2e1bf9fd3e900a2c9a00696f
- Ingested
- 09 Nov 2026, 18:34:35 UTC
- Source record
- Official CVE record