Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-11065 EUVD-2025-29426GHSA-2464-8j7c-4cjmGO-2025-3900

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 · Updated Nov 5, 2026 · Assigned by redhat

Vendor: Red Hat Product: OpenShift Pipelines Product: Red Hat Advanced Cluster Management for Kubernetes 2 Product: Red Hat Advanced Cluster Security 4 Product: Red Hat Certification for Red Hat Enterprise Linux 8 Product: Red Hat Certification Program for Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 9 Product: Red Hat OpenShift AI (RHOAI) Product: Red Hat OpenShift Container Platform 4 Product: Red Hat OpenShift Dev Spaces Product: Red Hat OpenShift distributed tracing 3 Product: Red Hat OpenShift GitOps Product: Red Hat Trusted Application Pipeline Product: Red Hat Trusted Artifact Signer Product: Zero Trust Workload Identity Manager - Tech Preview Package: azl-otel-collector Package: bank-vaults Package: bank-vaults-template Package: buildah Package: cert-manager Package: coredns Package: cri-o Package: docker-buildx Package: docker-cli Package: docker-compose Package: gh Package: github.com/go-viper/mapstructure Package: github.com/go-viper/mapstructure/v2 Package: golang-github-go-viper-mapstructure Package: golang-github-go-viper-mapstructure Package: influxdb Package: jitsucom-bulker Package: kata-containers Package: kata-containers-preview Package: keda Package: kube-vip-cloud-provider Package: kubevirt Package: kubevirt-openvmm Package: kured Package: moby-buildx Package: moby-cli Package: moby-compose Package: opa Package: packer Package: podman Package: prometheus Package: rook Package: skopeo Package: telegraf Package: terraform Package: vitess Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Go Ecosystem: Ubuntu Ecosystem: Wolfi

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.

Affected products

VendorProductAffectedFixed
— github.com/go-viper/mapstructure/v2 < 2.4.0 2.4.0
Red Hat OpenShift Pipelines — —
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 — —
Red Hat Red Hat Advanced Cluster Security 4 — —
Red Hat Red Hat Certification for Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Certification Program for Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —
Red Hat Red Hat OpenShift Container Platform 4 — —
Red Hat Red Hat OpenShift Dev Spaces — —
Red Hat Red Hat OpenShift distributed tracing 3 — —
Red Hat Red Hat OpenShift GitOps — —
Red Hat Red Hat Trusted Application Pipeline — —
Red Hat Red Hat Trusted Artifact Signer — —
Red Hat Zero Trust Workload Identity Manager - Tech Preview — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-go-viper-mapstructure 2.4.0-1 —
Debian 13 golang-github-go-viper-mapstructure No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-go-viper-mapstructure No fix yet —
Ubuntu 26.04 LTS golang-github-go-viper-mapstructure No fix yet —
Ubuntu 25.10 golang-github-go-viper-mapstructure No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 alloy 1.11.3-150700.15.9.1 SUSE-SU-2025:4121-1
SLES 15 SP7 cosign 3.0.5-150400.3.35.1 SUSE-SU-2026:0777-1
SLES 15 SP7 grafana 11.5.10-150200.3.80.1 SUSE-SU-2025:4482-1
SLES 15 SP6 grafana 11.5.10-150200.3.80.1 SUSE-SU-2025:4482-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 alloy 1.11.3-160000.1.1 SUSE-SU-2025:21137-1
SLES for SAP 16.0 cosign 3.0.5-160000.1.1 SUSE-SU-2026:20904-1
SLES 16.0 alloy 1.11.3-160000.1.1 SUSE-SU-2025:21137-1
SLES 16.0 cosign 3.0.5-160000.1.1 SUSE-SU-2026:20904-1
SUSE Multi Linux Manager Tools SLE-Micro-5 uyuni-tools 5.1.23-150002.3.6.1 SUSE-SU-2025:4446-1
SUSE Multi Linux Manager Tools SLE-15 grafana 11.5.10-150002.4.6.1 SUSE-SU-2025:4446-1
SUSE Multi Linux Manager Tools SLE-15 uyuni-tools 5.1.23-150002.3.6.1 SUSE-SU-2025:4446-1
SUSE Multi Linux Manager Tools SLE-12 Multi-Linux-ManagerTools-SLE-release 12-120002.1.11.1 SUSE-SU-2025:4444-1
SUSE Multi Linux Manager Tools SLE-12 grafana 11.5.10-120002.4.6.1 SUSE-SU-2025:4444-1
SUSE Multi Linux Manager Tools SLE-12 uyuni-tools 5.1.23-120002.3.6.1 SUSE-SU-2025:4444-1
SUSE Manager Server LTS 4.3 release-notes-susemanager 4.3.16.2-150400.3.148.1 SUSE-SU-2025:4479-1
SUSE Manager Proxy LTS 4.3 release-notes-susemanager-proxy 4.3.16.2-150400.3.104.2 SUSE-SU-2025:4479-1
SUSE Manager Client Tools for SLE Micro 5 dracut-saltboot 1.0.0-150000.1.62.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools for SLE Micro 5 uyuni-tools 0.1.37-150000.1.27.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 dracut-saltboot 1.0.0-150000.1.62.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 grafana 11.5.10-150000.1.87.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 mgr-push 5.0.3-150000.1.30.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 rhnlib 5.0.6-150000.3.49.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 spacecmd 5.0.14-150000.3.139.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 supportutils-plugin-susemanager-client 5.0.5-150000.3.30.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 15 uyuni-tools 0.1.37-150000.1.27.1 SUSE-SU-2025:4458-1
SUSE Manager Client Tools 12 golang-github-prometheus-alertmanager 0.28.1-1.34.1 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 grafana 11.5.10-1.87.1 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 mgr-push 5.0.3-1.30.3 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 rhnlib 5.0.6-21.55.1 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 spacecmd 5.0.14-38.162.1 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 supportutils-plugin-susemanager-client 5.0.5-6.36.1 SUSE-SU-2025:4457-1
SUSE Manager Client Tools 12 uyuni-tools 0.1.37-1.27.1 SUSE-SU-2025:4457-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed alloy 1.11.2-2.1 openSUSE-SU-2025:15631-1
openSUSE Tumbleweed cosign 3.0.4-2.1 openSUSE-SU-2026:10232-1
openSUSE Tumbleweed grafana 11.6.6-1.1 openSUSE-SU-2025:15610-1
openSUSE Tumbleweed trivy 0.67.2-1.1 openSUSE-SU-2025:15724-1
openSUSE Leap 16.0 alloy 1.11.3-160000.1.1 openSUSE-SU-2025:20073-1
openSUSE Leap 16.0 cosign 3.0.5-160000.1.1 openSUSE-SU-2026:20386-1
openSUSE Leap 15.6 cosign 3.0.5-150400.3.35.1 SUSE-SU-2026:0777-1
openSUSE Leap 15.6 dracut-saltboot 1.0.0-150000.1.62.1 SUSE-SU-2025:4458-1
openSUSE Leap 15.6 grafana 11.5.10-150200.3.80.1 SUSE-SU-2025:4482-1
openSUSE Leap 15.6 spacecmd 5.0.14-150000.3.139.1 SUSE-SU-2025:4458-1
openSUSE Leap 15.6 supportutils-plugin-susemanager-client 5.0.5-150000.3.30.1 SUSE-SU-2025:4458-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 amazon-cloudwatch-agent 1.300059.1-1.amzn2023 ALAS2023-2025-1224
Amazon Linux 2023 nerdctl 2.1.5-1.amzn2023.0.1 ALAS2023-2025-1259
Amazon Linux 2 amazon-cloudwatch-agent 1.300059.1-1.amzn2 ALAS2-2025-3037
Amazon Linux 2 nerdctl 2.1.5-1.amzn2.0.1 ALAS2-2025-3060

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cert-manager 1.12.15-6 —
Azure Linux 3 coredns 1.11.4-14 —
Azure Linux 3 cri-o +4 No fix yet —
Azure Linux 3 docker-buildx 0.14.0-10 —
Azure Linux 3 docker-cli 25.0.7-2 —
Azure Linux 3 docker-compose 2.27.0-8 —
Azure Linux 3 gh 2.62.0-13 —
Azure Linux 3 influxdb 2.7.5-13 —
Azure Linux 3 kata-containers 3.19.1.kata2-6 —
Azure Linux 3 keda 2.14.1-11 —
Azure Linux 3 kubevirt 1.7.0-3 —
Azure Linux 3 kured 1.15.0-3 —
Azure Linux 3 opa 0.63.0-3 —
Azure Linux 3 packer 1.9.5-13 —
Azure Linux 3 skopeo 1.14.4-8 —
Azure Linux 3 telegraf 1.31.0-15 —
Azure Linux 3 vitess 19.0.4-9 —
Azure Linux 2 (CBL-Mariner) cert-manager 1.11.2-27 —
Azure Linux 2 (CBL-Mariner) cri-o 1.22.3-20 —
Azure Linux 2 (CBL-Mariner) influxdb 2.6.1-30 —
Azure Linux 2 (CBL-Mariner) keda 2.4.0-32 —
Azure Linux 2 (CBL-Mariner) kube-vip-cloud-provider 0.0.2-26 —
Azure Linux 2 (CBL-Mariner) kubevirt 0.59.0-38 —
Azure Linux 2 (CBL-Mariner) kured 1.14.2-7 —
Azure Linux 2 (CBL-Mariner) moby-buildx 0.7.1-28 —
Azure Linux 2 (CBL-Mariner) moby-cli 24.0.9-8 —
Azure Linux 2 (CBL-Mariner) moby-compose 2.17.3-14 —
Azure Linux 2 (CBL-Mariner) opa 0.63.0-6 —
Azure Linux 2 (CBL-Mariner) packer 1.9.5-18 —
Azure Linux 2 (CBL-Mariner) prometheus 2.37.9-7 —
Azure Linux 2 (CBL-Mariner) rook +2 No fix yet —
Azure Linux 2 (CBL-Mariner) skopeo 1.14.2-14 —
Azure Linux 2 (CBL-Mariner) telegraf 1.29.4-21 —
Azure Linux 2 (CBL-Mariner) terraform 1.3.2-29 —
Azure Linux 2 (CBL-Mariner) vitess 17.0.7-14 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling bank-vaults +1 1.32.0-r1 —
Wolfi rolling jitsucom-bulker 2.11.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/go-viper/mapstructure all versions — GO-2025-3900
Go github.com/go-viper/mapstructure/v2 < 2.4.0 2.4.0 GHSA-2464-8j7c-4cjm

Advisories 20

References