CVE-2025-65965 Details
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.
A credential disclosure vulnerability exists in Grype, a vulnerability scanner for container images and filesystems, affecting versions 0.68.0 prior to 0.104.0. When registry credentials are set and the output is directed to a file in JSON format, the credentials are included in the output without proper sanitization. This vulnerability does not affect users without registry authentication configured.
Users can update to Grype version 0.104.1, where this vulnerability has been patched. For those unable to update, credentials can be redacted by redirecting standard output to a file, bypassing the use of the '--file' or '--output' options.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 25, 2025CISA-ADP
Assessed Nov 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/anchore/grype/commit/39f7fa17af2739cafe9b27176d4a68f7c05f21c1 | [email protected] | Source CodeVendor |
| https://github.com/anchore/grype/pull/3068 | [email protected] | Issue TrackingVendor |
| https://github.com/anchore/grype/security/advisories/GHSA-6gxw-85q2-q646 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-212 | Improper Removal of Sensitive Information Before Storage or Transfer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| anchore grype | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | New CVE Received | [email protected] |
Volerion