CVE-2025-11065

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

Published Jan 26, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2464-8j7c-4cjm go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
First Time appeared Redhat rhivos
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title github.com/go-viper/mapstructure/v2: Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure Github.com/go-viper/mapstructure/v2: go-viper's mapstructure may leak sensitive information in logs in github.com/go-viper/mapstructure
First Time appeared Redhat
Redhat acm
Redhat advanced Cluster Security
Redhat certifications
Redhat enterprise Linux
Redhat openshift
Redhat openshift Ai
Redhat openshift Devspaces
Redhat openshift Distributed Tracing
Redhat openshift Gitops
Redhat openshift Pipelines
Redhat trusted Application Pipeline
Redhat trusted Artifact Signer
Redhat zero Trust Workload Identity Manager
CPEs cpe:/a:redhat:acm:2
cpe:/a:redhat:advanced_cluster_security:4
cpe:/a:redhat:certifications:1::el8
cpe:/a:redhat:certifications:9
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift_ai
cpe:/a:redhat:openshift_devspaces:3
cpe:/a:redhat:openshift_distributed_tracing:3
cpe:/a:redhat:openshift_gitops:1
cpe:/a:redhat:openshift_pipelines:1
cpe:/a:redhat:trusted_application_pipeline:1
cpe:/a:redhat:trusted_artifact_signer:1
cpe:/a:redhat:zero_trust_workload_identity_manager:0
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat acm
Redhat advanced Cluster Security
Redhat certifications
Redhat enterprise Linux
Redhat openshift
Redhat openshift Ai
Redhat openshift Devspaces
Redhat openshift Distributed Tracing
Redhat openshift Gitops
Redhat openshift Pipelines
Redhat trusted Application Pipeline
Redhat trusted Artifact Signer
Redhat zero Trust Workload Identity Manager
References
Type Values Removed Values Added
Description No description is available for this CVE.
Title github.com/go-viper/mapstructure/v2: Go-viper's mapstructure May Leak Sensitive Information in Logs in github.com/go-viper/mapstructure
Weaknesses CWE-209
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}

threat_severity

Moderate