# Grype has a credential disclosure vulnerability in its JSON output

Advisory record · `GHSA-6gxw-85q2-q646`

- **Identifiers:** `GHSA-6gxw-85q2-q646` · `CVE-2025-65965` · `GO-2025-4160`
- **State:** Confirmed
- **Severity:** CVSS 8.2 High
- **Critical:** No
- **Weakness (CWE):** [CWE-212](https://cwe.mitre.org/data/definitions/212.html)
- **Tags:** [CWE-212](https://agentprime.io/advisories/tag/cwe-212.md)
- **Published:** 25 Nov 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 25 Nov 2025, 14:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/anchore/grype` (Go): affected `>=0.68.0, <0.104.1`; fixed in `0.104.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.2 High, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-6gxw-85q2-q646)

## Sources

- [GitHub Advisory Database: GHSA-6gxw-85q2-q646](https://github.com/advisories/GHSA-6gxw-85q2-q646)
- [OSV: GHSA-6gxw-85q2-q646](https://osv.dev/vulnerability/GHSA-6gxw-85q2-q646)
- <https://github.com/anchore/grype/security/advisories/GHSA-6gxw-85q2-q646>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65965>
- <https://github.com/anchore/grype/pull/3068>
- <https://github.com/anchore/grype/commit/39f7fa17af2739cafe9b27176d4a68f7c05f21c1>
- <https://github.com/anchore/grype/commit/c99f79de49a58dc16d7fd8f35160b169b87db9de>
- <https://github.com/anchore/grype>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6gxw-85q2-q646>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6gxw-85q2-q646/>. Everything for agents: <https://agentprime.io/llms.txt>.
