SCA: security update for github.com/wailsapp/wails/v2 (GHSA-47hv-j4px-h3c9)

high Tenable Cloud Security Plugin ID 477573

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-34157)

Solution

Update the github.com/wailsapp/wails/v2 library and its related packages to version 2.13.0 or later.

See Also

https://github.com/advisories/GHSA-47hv-j4px-h3c9

Plugin Details

Severity: High

ID: 477573

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 11/6/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.52

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-34157

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.6

Threat Score: 6.8

Threat Vector: CVSS:4.0/E:P

Vector: 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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/27/2026

Vulnerability Publication Date: 10/27/2026

Reference Information

CVE: CVE-2026-34157

cwe: CWE-625