# GO-2026-6862: Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins in github.com/wailsapp/wails

- Database: Go
- Published: 2026-11-05
- Modified: 2026-11-05

## Tracked as

- [CVE-2026-34157](https://cve.now/CVE-2026-34157.md): Wails origin bypass in BindingsAllowedOrigins allows remote calls

## Also published as

- [GHSA-47HV-J4PX-H3C9](https://cve.now/GHSA-47HV-J4PX-H3C9.md) (GitHub)

## Affected versions

- github.com/wailsapp/wails/v2 (Go): from 2.0.0, fixed in 2.13.0

## Description

Wails: wildcardPatternToRegex allows Origin bypass via suffix match in BindingsAllowedOrigins in github.com/wailsapp/wails

## References

- https://github.com/wailsapp/wails/security/advisories/GHSA-47hv-j4px-h3c9
- https://github.com/wailsapp/wails/commit/bcc5941b72fdab6a13942b58871a2696faa85b81
- https://github.com/wailsapp/wails/pull/5074

Page: https://cve.now/GO-2026-6862

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
