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.
https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm
https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c
Published: 2026-01-26
Updated: 2026-06-30
Named Vulnerability: GO-2025-3900Named Vulnerability: GHSA-2464-8j7c-4cjm
Base Score: 6.1
Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:N/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Severity: Medium
EPSS: 0.00011