{"answers":{"affected":"4 open source packages ship an affected version, including github.com/go-viper/mapstructure/v2 and github.com/go-viper/mapstructure.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11065 exists.","fix":"Upgrade github.com/go-viper/mapstructure/v2 to 2.4.0 or later.","what":"CVE-2025-11065 is a medium-severity vulnerability in Red Hat OpenShift Pipelines, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-11065 and fix it if it is affected.\n\nWhat it is: CVE-2025-11065 is a medium-severity vulnerability in Red Hat OpenShift Pipelines, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-11065 exists.\n\nAffected packages and fixed versions:\n- github.com/go-viper/mapstructure/v2 (Go): affected all versions; fixed in 2.4.0\n- github.com/go-viper/mapstructure/v2 (Go): affected all versions; fixed in 2.4.0\n- github.com/go-viper/mapstructure/v2 (Go): affected all versions; fixed in 2.4.0\n- github.com/go-viper/mapstructure (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-11065/ (Markdown: https://insights.sbomify.com/CVE-2025-11065/index.md)","id":"CVE-2025-11065","markdown":"https://insights.sbomify.com/CVE-2025-11065/index.md","name":"CVE-2025-11065","record":{"aliases":["AZL-75351","AZL-75369","AZL-75372","AZL-75375","AZL-75389","AZL-75402","AZL-75407","AZL-75410","AZL-75413","AZL-75416","AZL-75419","AZL-75425","AZL-75428","AZL-75434","AZL-75440","AZL-75449","AZL-75452","AZL-75458","AZL-75473","AZL-75476","AZL-75479","AZL-75488","AZL-75491","AZL-75497","AZL-75500","AZL-75524","AZL-75527","AZL-75530","AZL-75545","AZL-75548","AZL-75551","AZL-75554","AZL-75557","AZL-75560","AZL-75564","AZL-75573","AZL-75576","AZL-75579","AZL-75582","AZL-81197","CLEANSTART-2026-FA93057","CLEANSTART-2026-FD99919","CLEANSTART-2026-GC90815","CLEANSTART-2026-MO09843","CLEANSTART-2026-NC69748","DEBIAN-CVE-2025-11065","GHSA-2464-8j7c-4cjm","GO-2025-3900","MINI-2vmc-8jjw-9qj4","MINI-392m-xq36-j4fr","MINI-3cff-hhqv-q8hq","MINI-3h9q-q9f7-p6qj","MINI-465p-v7mm-j9q9","MINI-4939-cgp2-4236","MINI-5fg3-8gxc-vq97","MINI-627v-hjch-25pr","MINI-64h6-mvqj-3p8w","MINI-6fx5-m9gw-5wgw","MINI-6gwh-fwvg-c73m","MINI-6hx6-9vqf-9cq7","MINI-6px9-4cgf-vgmr","MINI-6r5x-7qh8-75hm","MINI-6xxv-j95c-qxmf","MINI-73p7-73gm-m446","MINI-76hv-qh68-94xv","MINI-779r-3jgp-6p8f","MINI-78f5-mhqm-mh88","MINI-7pxp-38qq-3wh3","MINI-7rrc-q22r-24jj","MINI-7v3w-436q-2jq7","MINI-85c2-2qx2-m6wv","MINI-8876-qmhx-3886","MINI-8gjv-mq66-xfv9","MINI-8jrx-6m9h-wqhh","MINI-8m48-7jmc-3237","MINI-94g9-8vgp-hm4r","MINI-969q-q5gw-2jp7","MINI-9wgp-9f78-wh2q","MINI-c385-q4m9-6hf2","MINI-cggw-ffp4-g365","MINI-gff9-m658-67hh","MINI-gvhm-gpr8-9w4p","MINI-gvwx-c7g6-fxqj","MINI-gw8g-p7q7-8v33","MINI-hp6p-2p6p-g7fv","MINI-hx87-x7vf-j59g","MINI-j893-6jw5-7p6q","MINI-jc8p-mgcq-746h","MINI-jf37-wwhq-7hfx","MINI-m7xw-74qg-7mwh","MINI-p2j9-856r-gxwm","MINI-pfrw-hqg3-hvq2","MINI-pp8h-8cgx-5546","MINI-prp5-xf72-3vjc","MINI-pvq6-2pjv-4rgc","MINI-q482-872j-m7ww","MINI-q925-x3x7-qhv5","MINI-qw33-xx4p-4pmv","MINI-r3p9-4j42-c5c4","MINI-r984-3mqv-j4gx","MINI-rmqj-3mpj-26jr","MINI-v94q-xp73-8r22","MINI-vm6r-99vq-7p4r","MINI-vp37-8497-fp6f","MINI-w376-4fgm-v9fx","MINI-wc3m-pxwc-588g","MINI-wg38-q742-wf9h","MINI-whww-5x2g-3pc6","MINI-wxcq-5w8p-4m7m","MINI-xxjx-5m79-7q7h","MINI-xxx9-ff9v-3qc5","UBUNTU-CVE-2025-11065","openSUSE-SU-2025:15610-1","openSUSE-SU-2025:15724-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go mapstructure library","requires_auth":"none","summary":"Attackers can leak sensitive input values via detailed error messages in the Go mapstructure library when processing malformed data.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"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.","ecosystems":["Go","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data","id":"CVE-2025-11065","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"code-projects Online Bidding System bidlist.php sql injection","id":"CVE-2025-11066"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/go-viper/mapstructure","purl":"pkg:golang/github.com/go-viper/mapstructure","source":"GO-2025-3900"},{"ecosystem":"Go","fixed":["2.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-viper/mapstructure/v2","purl":null,"source":"GHSA-2464-8j7c-4cjm"},{"ecosystem":"Go","fixed":["2.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-viper/mapstructure/v2","purl":"pkg:golang/github.com/go-viper/mapstructure/v2","source":"GHSA-2464-8j7c-4cjm"},{"ecosystem":"Go","fixed":["2.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/go-viper/mapstructure/v2","purl":"pkg:golang/github.com/go-viper/mapstructure/v2","source":"GO-2025-3900"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["11.6.6-1.1"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/opensuse/grafana\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15610-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.67.2-1.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15724-1"}],"prev":{"headline":"Campcodes Online Learning Management System teachers.php sql injection","id":"CVE-2025-11064"},"products":["OpenShift Pipelines","Red Hat Advanced Cluster Management for Kubernetes 2","Red Hat Advanced Cluster Security 4","Red Hat Certification Program for Red Hat Enterprise Linux 9","Red Hat Certification for Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 9","Red Hat OpenShift AI (RHOAI)","Red Hat OpenShift Container Platform 4","Red Hat OpenShift Dev Spaces","Red Hat OpenShift GitOps","Red Hat OpenShift distributed tracing 3","Red Hat Trusted Application Pipeline","Red Hat Trusted Artifact Signer","Zero Trust Workload Identity Manager - Tech Preview"],"published":"2026-01-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-29","vendors":["Red Hat"]},"summary":"Attackers can leak sensitive input values via detailed error messages in the Go mapstructure library when processing malformed data.","url":"https://insights.sbomify.com/CVE-2025-11065/"}