Duplicate Advisory: go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
Moderate severity
GitHub Reviewed
Published
Jan 26, 2026
to the GitHub Advisory Database
•
Updated Jan 27, 2026
Withdrawn
This advisory was withdrawn on Jan 27, 2026
Description
Published by the National Vulnerability Database
Jan 26, 2026
Published to the GitHub Advisory Database
Jan 26, 2026
Reviewed
Jan 27, 2026
Withdrawn
Jan 27, 2026
Last updated
Jan 27, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-2464-8j7c-4cjm. This link is maintained to preserve external references.
Original Description
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.
References