# 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

- Severity: Medium 5.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-21T14:37:19.000Z
- Modified: 2026-11-24T07:17:18.027Z
- Also known as: GHSA-2464-8j7c-4cjm, GO-2025-3900
- Related: CGA-4v52-6cgq-vcv9
- Weaknesses: CWE-117, CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- github.com/go-viper/mapstructure/v2: before 2.4.0
- openshift-pipelines-client: no versions given
- rhacm2/acm-grafana-rhel9: no versions given
- rhacm2/submariner-rhel9-operator: no versions given
- advanced-cluster-security/rhacs-central-db-rhel8: no versions given
- advanced-cluster-security/rhacs-main-rhel8: no versions given
- advanced-cluster-security/rhacs-rhel8-operator: no versions given
- advanced-cluster-security/rhacs-roxctl-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-v4-db-rhel8: no versions given
- advanced-cluster-security/rhacs-scanner-v4-rhel8: no versions given
- redhat-certification-preflight: no versions given
- gvisor-tap-vsock: no versions given
- opentelemetry-collector: no versions given
- toolbox: no versions given
- rhoai/odh-model-registry-rhel9: no versions given
- rhoai/odh-rhel9-operator: no versions given
- microshift: no versions given
- openshift: no versions given
- openshift4/ose-helm-operator: no versions given
- openshift4/ose-helm-rhel9-operator: no versions given
- podman: no versions given
- devspaces/traefik-rhel9: no versions given
- devspaces/udi-base-rhel9: no versions given
- devspaces/udi-rhel9: no versions given
- rhosdt/opentelemetry-collector-rhel8: no versions given
- openshift-gitops-1/argocd-rhel8: no versions given
- openshift-gitops-1/argocd-rhel9: no versions given
- rhtap-task-runner/rhtap-task-runner-rhel9: no versions given
- rhtas/cosign-rhel9: no versions given
- rhtas/fulcio-rhel9: no versions given
- rhtas/gitsign-rhel9: no versions given
- rhtas/rekor-backfill-redis-rhel9: no versions given
- rhtas/rekor-cli-rhel9: no versions given
- rhtas/rekor-server-rhel9: no versions given
- rhtas/timestamp-authority-rhel9: no versions given
- zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9: no versions given
- zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9: no versions given
- zero-trust-workload-identity-manager/spiffe-spire-server-rhel9: no versions given
- zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9: no versions given
- github.com/go-viper/mapstructure/v2 (Go): before 2.4.0
- github.com/go-viper/mapstructure (Go): all versions

## Every score

- redhat: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/go-viper/mapstructure/security/advisories/GHSA-2464-8j7c-4cjm> (exploit, advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-11065> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2391829> (issue-tracking, web)
- <https://github.com/go-viper/mapstructure/commit/742921c9ba2854d27baa64272487fc5075d2c39c> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-11065> (advisory)
- <https://github.com/go-viper/mapstructure> (package)
- <https://pkg.go.dev/vuln/GO-2025-3900> (web)

## Sources

- CVE List: [CVE-2025-11065](https://www.cve.org/CVERecord?id=CVE-2025-11065), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-2464-8j7c-4cjm](https://github.com/advisories/GHSA-2464-8j7c-4cjm), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3900](https://pkg.go.dev/vuln/GO-2025-3900), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2025-11065](https://nvd.nist.gov/vuln/detail/CVE-2025-11065), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2025-11065 · Whole record: https://cve.day/CVE-2025-11065.json · Rebuilt by cve.day 2026-11-25T22:59:10.867Z
