CVE-2026-34157
CVE-2026-34157 — Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
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.
Published Updated Sources: NVD, wailsapp (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
7.6
high
Remediation
The vendor's own words where we have them.
Upgrade Wails to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Wailsapp | wails | >= 2.0.0, < 2.13.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Scope
X
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
P
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.6 | CVSS 4.0 | high | n/a | n/a | wailsapp (CNA) |
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
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-625 · Permissive Regular Expression
- Bypass Protection Mechanism::
Mitigation: When applicable, ensure that the regular expression marks beginning and ending string patterns, such as /^string$/ for Perl.::
Weakness & attack patterns
- CWE-625
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
3
1 of the 3 sampled are weaponized
Exploit entries
1
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /internal/frontend/originvalidator/originValidator.go.
- Prioritize edge telemetry for network-reachable Wails.
- Monitor for scanner or exploit-pattern traffic after 4 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.6 (AV:N)
Nov 5, 2026 · NVD
Initial · CVE published
Nov 5, 2026 · NVD
CVE published by MITRE.
Nov 5, 2026 · SOCRadar CTI
Cve is exploited Saku0512/CVE-2026-34157-poc
Oct 21, 2026 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 1×SVRS is calculatedOct 21, 2026 · SOCRadar CTI
- 1×Github_Repos · Github repository created, Saku0512/CVE-2026-34157-pocOct 18, 2026 · SOCRadar CTI
References
4 on the record
- github.com/wailsapp/wails/commit/bcc5941b72fdab6a13942b58871a2696faa85b81
Exploit, Third Party Advisory, Mitre, NIST
- github.com/wailsapp/wails/pull/5074
Exploit, Third Party Advisory, Mitre, NIST
- github.com/wailsapp/wails/releases/tag/v2.13.0
Exploit, Third Party Advisory, Mitre, NIST
- github.com/wailsapp/wails/security/advisories/GHSA-47hv-j4px-h3c9
Exploit, Third Party Advisory, Mitre, NIST
Coverage
1 story from the feeds we poll
Elsewhere on this site
- Wailsappevery CVE for this vendor
- wailsevery page on this product
- Unclassifiedsame class
- CWE-625other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-34157 is Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins, a high vulnerability affecting Wails from Wailsapp. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 4 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.6 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.