CVE-2025-65965
published high CVSS 4.0 · 8.2Grype has a credential disclosure vulnerability in Grype JSON output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| anchore | — | grype>= 0.68.0, < 0.104.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | grype | Fixed | 0.104.1-r0 | Package fix record |
| Alpine Linux | v3.23 | grype | Fixed | 0.104.1-r0 | Package fix record |
| Alpine Linux | v3.24 | grype | Fixed | 0.104.1-r0 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| anchore | grype | >= 0.68.0, < 0.104.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-212 CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
References
3Provider assertions
2GitHub_M · cna
Grype has a credential disclosure vulnerability in Grype JSON output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f6911d6a9490b7f6b9a4b7cb4b328fe70c006bc06d5ef6f29cd2fc76ad543f7f
- Ingested
- 23 Sep 2026, 08:56:20 UTC
- Source record
- Official CVE record