CVE-2026-34157

    Dashboard / Vulnerabilities / CVE-2026-34157

    CVE-2026-34157

    Published: 5 Nov 2026Last Modified: 7 Nov 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 74133c9ae372ba18dedc4e94e892456b9bf48509

    Affected versions

    v3.0.0-alpha2.104
    v3.0.0-alpha2.103
    v3.0.0-alpha.102
    v3.0.0-alpha.101
    v3.0.0-alpha.100
    v3.0.0-alpha.99
    v3.0.0-alpha.98
    v3.0.0-alpha.97
    v3.0.0-alpha.96
    v3.0.0-alpha.95
    v3.0.0-alpha.94
    v3.0.0-alpha.93
    v3.0.0-alpha.92
    v3.0.0-alpha.91
    v3.0.0-alpha.90
    v3.0.0-alpha.89
    v3.0.0-alpha.88
    v3.0.0-alpha.87
    v3.0.0-alpha.86
    v3.0.0-alpha.85
    v3.0.0-alpha.84
    v3.0.0-alpha.83
    v3.0.0-alpha.82
    v3.0.0-alpha.81
    v3.0.0-alpha.80
    v3.0.0-alpha.79
    v3.0.0-alpha.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-34157 | CVE-DB