CVE-2025-11065CWE-209

Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure

Medium · published January 26, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
33.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00401 · 33.2th percentile
Weakness
CWE-209 · Generation of Error Message Containing Sensitive Information
Published
2026-01-26T19:36Z
EPSS history
Timeline
  • 26 JAN 19:36Z
    Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure
    cvelistv5