Public vulnerability disclosure

CVE-2026-34157

Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins

publishedCWE-625

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.

Technical severity7.6 highCVSS 4.0 · CNA: GitHub_M
Published2026-11-05Source updated 2026-11-09
Collected2026-11-094 attributed sources

Fixes and workarounds

Fix

github.com/wailsapp/wails/v2 (Go): OSV reports a fixed version 2.13.0. Check the advisory for supported release branches.

Source: OSV GHSA-47hv-j4px-h3c9

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
wails
wailsapp
>= 2.0.0, < 2.13.0 (affected) CNA: GitHub_M
github.com/wailsapp/wails/v2

github.com/wailsapp/wails/v2
Go
≥ 2.0.0; < 2.13.0 (affected, semver); OSV events: introduced 2.0.0; fixed 2.13.0
Source events (semver)
[
  {
    "introduced": "2.0.0"
  },
  {
    "fixed": "2.13.0"
  }
]

Other versions: unaffected
OSV GHSA-47hv-j4px-h3c9

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 7.6
high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:NCNA: GitHub_M
4.0 / 7.6
high
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide