Skip to content
OpenAdvisories
High · 8.2 CVE-2025-65965 EUVD-2025-199596GHSA-6gxw-85q2-q646GO-2025-4160

Grype has a credential disclosure vulnerability in Grype JSON output

Published Nov 25, 2025 · Updated Nov 25, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
anchore grype >= 0.68.0, < 0.104.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20251209T172047-150000.1.127.1 SUSE-SU-2025:4395-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251209T172047-150000.1.127.1 SUSE-SU-2025:4395-1
ReleasePackageFixed inAdvisory
Alpine v3.24 grype 0.104.1-r0 —
Alpine v3.23 grype 0.104.1-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k9s 0.50.16-r4 —
Wolfi rolling zarf 0.67.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/anchore/grype >= 0.68.0, < 0.104.1 0.104.1 GHSA-6gxw-85q2-q646

Advisories 2

References