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

Summary

CVECVE-2025-11065
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-01-26 20:16:06 UTC
Updated2026-06-30 00:16:51 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS: 0.003570000 probability, percentile 0.276930000 (date 2026-07-01)

Problem Types: CWE-209 | CWE-209 Generation of Error Message Containing Sensitive Information


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
3.1CNACVSS5.3MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat OpenShift Pipelines Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Management For Kubernetes 2 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Management For Kubernetes 2 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
CNA Red Hat Red Hat Certification For Red Hat Enterprise Linux 8 Not specified Not specified
CNA Red Hat Red Hat Certification Program For Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 10 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
CNA Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
CNA Red Hat Red Hat OpenShift AI RHOAI Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Container Platform 4 Not specified Not specified
CNA Red Hat Red Hat OpenShift Dev Spaces Not specified Not specified
CNA Red Hat Red Hat OpenShift Dev Spaces Not specified Not specified
CNA Red Hat Red Hat OpenShift Dev Spaces Not specified Not specified
CNA Red Hat Red Hat OpenShift Distributed Tracing 3 Not specified Not specified
CNA Red Hat Red Hat OpenShift GitOps Not specified Not specified
CNA Red Hat Red Hat OpenShift GitOps Not specified Not specified
CNA Red Hat Red Hat Trusted Application Pipeline Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Red Hat Trusted Artifact Signer Not specified Not specified
CNA Red Hat Zero Trust Workload Identity Manager - Tech Preview Not specified Not specified
CNA Red Hat Zero Trust Workload Identity Manager - Tech Preview Not specified Not specified
CNA Red Hat Zero Trust Workload Identity Manager - Tech Preview Not specified Not specified
CNA Red Hat Zero Trust Workload Identity Manager - Tech Preview Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2025-11065 [email protected] access.redhat.com
github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc50... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2025-08-29T17:01:44.012ZReported to Red Hat.
CNA2025-08-29T14:52:35.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report