LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-11065 is an information disclosure issue in Go Viper’s mapstructure v2 library. Under certain malformed input conditions, detailed decoding errors may expose sensitive input values in logs. This is not described as code execution or service takeover, but it can create business risk if secrets, tokens, or personal data are processed and logged.

Executive priority

Handle as a scheduled confidentiality-risk remediation. Prioritize systems handling secrets, credentials, customer data, or regulated information, especially where logs are broadly accessible or exported to centralized platforms.

Technical view

The flaw is classified as CWE-209. It affects field processing using mapstructure.WeakDecode, where verbose error messages may disclose sensitive input values. The CVSS 3.1 score is 5.3: network reachable, high complexity, no privileges required, user interaction required, high confidentiality impact, and no integrity or availability impact.

Likely exposure

Exposure is most likely in Go applications or Red Hat-shipped components that use github.com/go-viper/mapstructure/v2 and process malformed user-supplied data in sensitive contexts. Risk depends on whether decode errors are logged, who can trigger those errors, and who can read the logs.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. Successful abuse appears situational: an attacker would need a path to supply malformed data and cause detailed errors to be logged where sensitive values are retained or accessible.

Researcher notes

Affected Red Hat products and packages are listed, but exact fixed versions are not provided in the source bundle. The upstream commit and GitHub advisory are relevant references. Do not assume exploitability without confirming application-specific use of WeakDecode and logging behavior.

Mitigation direction

  • Check the GitHub advisory and Red Hat CVE page for fixed versions or official guidance.
  • Update affected dependencies or Red Hat packages when vendor-provided fixes are available.
  • Reduce logging of detailed decode errors in security-critical paths.
  • Avoid processing secrets through WeakDecode when handling untrusted input.
  • Restrict access to application, platform, and collector logs that may contain sensitive data.

Validation and detection

  • Inventory Go applications using github.com/go-viper/mapstructure/v2.
  • Search code for mapstructure.WeakDecode in user-input processing paths.
  • Identify Red Hat listed products or packages deployed in your environment.
  • Review logs for decode errors that may include sensitive values.
  • Confirm remediation status against vendor advisories, not only package presence.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-209: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-11065 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N1.63.6redhat

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2025-11065Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Made public.

  2. Source timelineredhat

    Reported to Red Hat.

  3. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorgithub.com/go-viper/mapstructure/v2github.com/go-viper/mapstructure/v2, 0unaffected
Red HatOpenShift Pipelinesopenshift-pipelines-clientaffected
Red HatRed Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel9affected
Red HatRed Hat Advanced Cluster Management for Kubernetes 2rhacm2/submariner-rhel9-operatoraffected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-central-db-rhel8affected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8affected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-rhel8-operatoraffected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-roxctl-rhel8affected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-db-rhel8affected
Red HatRed Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-scanner-v4-rhel8affected
Red HatRed Hat Certification for Red Hat Enterprise Linux 8redhat-certification-preflightaffected
Red HatRed Hat Certification Program for Red Hat Enterprise Linux 9redhat-certification-preflightaffected
Red HatRed Hat Enterprise Linux 10gvisor-tap-vsockaffected
Red HatRed Hat Enterprise Linux 10opentelemetry-collectoraffected
Red HatRed Hat Enterprise Linux 10toolboxaffected
Red HatRed Hat Enterprise Linux 9gvisor-tap-vsockaffected
Red HatRed Hat Enterprise Linux 9opentelemetry-collectoraffected
Red HatRed Hat Enterprise Linux 9toolboxaffected
Red HatRed Hat OpenShift AI (RHOAI)rhoai/odh-model-registry-rhel9affected
Red HatRed Hat OpenShift AI (RHOAI)rhoai/odh-rhel9-operatoraffected
Red HatRed Hat OpenShift Container Platform 4microshiftaffected
Red HatRed Hat OpenShift Container Platform 4openshiftaffected
Red HatRed Hat OpenShift Container Platform 4openshift4/ose-helm-operatoraffected
Red HatRed Hat OpenShift Container Platform 4openshift4/ose-helm-rhel9-operatoraffected
Red HatRed Hat OpenShift Container Platform 4podmanaffected
Red HatRed Hat OpenShift Dev Spacesdevspaces/traefik-rhel9affected
Red HatRed Hat OpenShift Dev Spacesdevspaces/udi-base-rhel9unaffected
Red HatRed Hat OpenShift Dev Spacesdevspaces/udi-rhel9unaffected
Red HatRed Hat OpenShift distributed tracing 3rhosdt/opentelemetry-collector-rhel8affected
Red HatRed Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-209 · source CWE mapping

Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.