CVE-2025-65965 json
Grype has a credential disclosure vulnerability in Grype JSON output
published 2025-11-25 11 mo ago modified 2026-10-18 21 d ago also EUVD-2025-199596 , GHSA-6gxw-85q2-q646 , GO-2025-4160
- cvss
- 8.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/anchore/grype 0.104.1
- anchore grype 0.104.1
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20251209T172047-150000.1.127.1
suse advisories SUSE-SU-2025:4395-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- grype Alpine 3.24, Alpine 3.23 0.104.1-r0
alpine advisories ALPINE-CVE-2025-65965
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/anchore/grype@39f7fa1 commit
- github.com/anchore/grype@c99f79d commit
- github.com/anchore/grype#3068 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-65965 updated cvss 7.1
github.com/anchore/grype: Grype credential disclosure vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/anchore/grype | >=0.68.0, <0.104.1 |
0.104.1 |
Affected products
- anchore grype
Classification
- Weakness
-
- CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
References
-
github.com
/anchore/grype/pull/3068
web, patch
-
github.com
/anchore/grype/commit/39f7fa17af2739cafe9b27176d4a68f7c05f21c1
web
-
github.com
/anchore/grype/commit/c99f79de49a58dc16d7fd8f35160b169b87db9de
web, patch
-
github.com
/anchore/grype/security/advisories/GHSA-6gxw-85q2-q646
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-65965
advisory
-
github.com
/anchore/grype
package
Sources
- CVE List CVE-2025-65965
- GitHub Advisory GHSA-6gxw-85q2-q646
- NVD CVE-2025-65965
- OSV GO-2025-4160
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.