CVE-2026-34157

Source
https://cve.org/CVERecord?id=CVE-2026-34157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-34157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-34157
Aliases
Downstream
Related
Published
2026-11-05T20:26:04Z
Modified
2026-11-18T17:27:27Z
Severity
  • 7.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-625"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34157.json"
}
References

Affected packages

Git / github.com/wailsapp/wails

Affected ranges

Type
GIT
Repo
https://github.com/wailsapp/wails
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.0.0"
                },
                {
                    "fixed":  "2.13.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "bcc5941b72fdab6a13942b58871a2696faa85b81"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v2.13.0",
            "range":  [
                {
                    "fixed":  "474b677c9b9191d703607bea7d76143b1b2eeb0c"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v2.*
v2.0.0
v2.1.0
v2.10
v2.10.0
v2.10.1
v2.10.2
v2.11.0
v2.12.0
v2.2.0
v2.3.0
v2.3.1
v2.5.0
v2.5.1
v2.6.0
v2.7.0
v2.7.1
v2.8.0
v2.8.1
v2.8.2
v2.9.0
v2.9.1
v2.9.2
v3.*
v3.0.0-alpha.0
v3.0.0-alpha.100
v3.0.0-alpha.101
v3.0.0-alpha.102
v3.0.0-alpha.79
v3.0.0-alpha.80
v3.0.0-alpha.81
v3.0.0-alpha.82
v3.0.0-alpha.83
v3.0.0-alpha.84
v3.0.0-alpha.85
v3.0.0-alpha.86
v3.0.0-alpha.87
v3.0.0-alpha.88
v3.0.0-alpha.89
v3.0.0-alpha.90
v3.0.0-alpha.91
v3.0.0-alpha.92
v3.0.0-alpha.93
v3.0.0-alpha.94
v3.0.0-alpha.95
v3.0.0-alpha.96
v3.0.0-alpha.97
v3.0.0-alpha.98
v3.0.0-alpha.99
v3.0.0-alpha2.103
v3.0.0-alpha2.104
webview2/v1.*
webview2/v1.0.24

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-34157.json"