GHSA-86rf-68f4-2cph

Suggest an improvement
Source
https://github.com/advisories/GHSA-86rf-68f4-2cph
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-86rf-68f4-2cph/GHSA-86rf-68f4-2cph.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-86rf-68f4-2cph
Withdrawn
2026-01-27T21:00:31Z
Published
2026-01-26T21:30:36Z
Modified
2026-02-03T03:07:54.692300Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Duplicate Advisory: go-viper's mapstructure May Leak Sensitive Information in Logs When Processing Malformed Data
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-2464-8j7c-4cjm. This link is maintained to preserve external references.

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

Database specific
{
    "github_reviewed_at": "2026-01-27T21:00:31Z",
    "nvd_published_at": "2026-01-26T20:16:06Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-117"
    ],
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/go-viper/mapstructure/v2

Package

Name
github.com/go-viper/mapstructure/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/go-viper/mapstructure/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-86rf-68f4-2cph/GHSA-86rf-68f4-2cph.json"