CVE-2026-34157
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.
Weakness
- CWE-625: Permissive Regular Expression
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-09 |
Timeline
- 2026-10-27GitHub advisory published (GHSA-47hv-j4px-h3c9)9 days before publication
- 2026-11-05Published by the CNA20:26 UTC
- 2026-11-09CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-47hv-j4px-h3c9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/wailsapp/wails/v2 | from 2.0.0 before 2.13.0 | 2.13.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| wailsapp wails |
References
- https://github.com/wailsapp/wails/commit/bcc5941b72fdab6a13942b58871a2696faa85b81
- https://github.com/wailsapp/wails/pull/5074
- https://github.com/wailsapp/wails/releases/tag/v2.13.0
- https://github.com/wailsapp/wails/security/advisories/GHSA-47hv-j4px-h3c9
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-34157'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-34157'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-34157'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-34157'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).