CVE-2025-11065
A flaw was found in github.com/go-viper/mapstructure/v2, in the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2025-11065
- bugzilla.redhat.com/show_bug.cgi?id=2391829
- github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c
- github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm
- pkg.go.dev/vuln/GO-2025-3900
- nvd.nist.gov/vuln/detail/CVE-2025-11065
- github.com/advisories/GHSA-2464-8j7c-4cjm
- nvd.nist.gov/vuln/detail/CVE-2025-11065
- cve.org/CVERecord?id=CVE-2025-11065
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.