Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/anchore/grype
  4. ›
  5. CVE-2025-65965

CVE-2025-65965: Grype has a credential disclosure vulnerability in its JSON output

November 25, 2025 (updated November 27, 2025)

A credential disclosure vulnerability was found in Grype, affecting versions v0.68.0 through v0.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.

References

  • github.com/advisories/GHSA-6gxw-85q2-q646
  • github.com/anchore/grype
  • github.com/anchore/grype/commit/39f7fa17af2739cafe9b27176d4a68f7c05f21c1
  • github.com/anchore/grype/commit/c99f79de49a58dc16d7fd8f35160b169b87db9de
  • github.com/anchore/grype/pull/3068
  • github.com/anchore/grype/security/advisories/GHSA-6gxw-85q2-q646
  • nvd.nist.gov/vuln/detail/CVE-2025-65965

Code Behaviors & Features

Detect and mitigate CVE-2025-65965 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.68.0 before 0.104.1

Fixed versions

  • 0.104.1

Solution

Upgrade to version 0.104.1 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

go/github.com/anchore/grype/CVE-2025-65965.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.