Vulnerability
CVE-2025-11065
A flaw was found in github.com/go-viper/mapstructure/v2, in the field processing component using mapstructure.WeakDecode. This vulnerability allows information disclosure through detailed error messages that may leak sensitive input values via malformed user-supplied data processed in security-critical contexts.
221 advisories report this vulnerability, across 11 ecosystems.
Advisories in Go
-
GHSA-2464-8j7c-4cjm
go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
-
GO-2025-3900
Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure