1. Accueil
  2. Vulnérabilités
  3. CVE-2026-34157

CVE-2026-34157

Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins

Publiée le 5 nov. 2026 · modifiée le 12 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 45/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

wailsapp (1 ligne(s))
wailsapp
ProduitVersionsCorrigé dansSource
wails Versions non précisées — CNA (éditeur ou attributeur)
Go (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/wailsapp/wails/v2 de 2.0.0 (inclus) à 2.13.0 (exclu) 2.13.0 GitHub Advisory
github.com/wailsapp/wails/v2 de 2.0.0 (inclus) à 2.13.0 (exclu) 2.13.0 OSV

Correctif

Mise à jour — Go/github.com/wailsapp/wails/v2 2.13.0source officielle

Source : GitHub Advisory

Mise à jour — Go/github.com/wailsapp/wails/v2 2.13.0source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
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 4.0, CNA:GitHub_M)
Faiblesse
CWE-625 · Autre (CWE-625)

Comment sont obtenues et calculées ces données