CVE-2025-65965
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-65965, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-11-25

Last updated on: 2025-11-25

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-11-25
Last Modified
2025-11-25
Generated
2026-07-06
AI Q&A
2025-11-25
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
anchore grype 0.68.0
anchore grype 0.104.1
anchore grype 0.104.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-212 The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Grype, a container image and filesystem vulnerability scanner, causes registry credentials to be disclosed if they are defined and the output is written using the --file or --output json=<file> option. The credentials are included unsanitized in the output file, potentially exposing sensitive information. This affects versions 0.68.0 through 0.104.0 and has been fixed in version 0.104.1.

Impact Analysis

If you use affected versions of Grype and output scan results to a file using the --file or --output json option, your registry credentials could be exposed in that output file. This could lead to unauthorized access to your container registries, potentially compromising your container images and related infrastructure.

Detection Guidance

You can detect this vulnerability by checking the version of Grype installed on your system. Versions from 0.68.0 through 0.104.0 are affected. Use the command `grype version` to determine the installed version. Additionally, inspect any output files generated using the --file or --output json=<file> options for the presence of unsanitized registry credentials.

Mitigation Strategies

To mitigate this vulnerability immediately, upgrade Grype to version 0.104.1 or later where the issue is patched. If upgrading is not possible right away, avoid using the --file or --output json=<file> options when running Grype. Instead, redirect the standard output (stdout) to a file to prevent registry credentials from being included unsanitized in output files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-65965. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart