CVE-2025-65965

Grype has a credential disclosure vulnerability in Grype JSON output

State
Published
Severity
8.2 High
Published
Nov 25, 2025
Updated
Nov 25, 2025
Reserved
Nov 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer

Affected Products

ProductVersions
grypeanchore
  • >= 0.68.0, < 0.104.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.