CVE-2025-65965
HIGH 8.2CVSS 4.0Grype has a credential disclosure vulnerability in its JSON output
Grype is a vulnerability scanner for container images and filesystems. A credential disclosure vulnerability was found in Grype, affecting versions 0.68.0 through 0.104.0. If registry credentials are defined and the output of grype is written using the --file or --output json=<file> option, the registry credentials will be included unsanitized in the output file. This issue has been patched in version 0.104.1. Users running affected versions of grype can work around this vulnerability by redirecting stdout to a file instead of using the --file or --output options.
- Published
- 25 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-212
- Also known as
- GHSA-6gxw-85q2-q646GO-2025-4160
- Sources
- NVDJSONOSV GHSA-6gxw-85q2-q646JSONOSV GO-2025-4160JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/anchore/grype | >= 0.68.0, < 0.104.1 | 0.104.1 |
References
- https://github.com/anchore/grype/commit/39f7fa17af2739cafe9b27176d4a68f7c05f21c1 · WEB
- https://github.com/anchore/grype/pull/3068 · WEB, FIX
- https://github.com/anchore/grype/security/advisories/GHSA-6gxw-85q2-q646 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-65965 · ADVISORY
- https://github.com/anchore/grype/commit/c99f79de49a58dc16d7fd8f35160b169b87db9de · WEB, FIX
- https://github.com/anchore/grype · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Nov 2025)