# Kubernetes client-go vulnerable to Sensitive Information Leak via Log File

Advisory record · `GHSA-8cfg-vx93-jvxw`

- **Identifiers:** `GHSA-8cfg-vx93-jvxw` · `CVE-2020-8565` · `GO-2021-0064`
- **State:** Confirmed
- **Severity:** CVSS 4.7 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-532](https://cwe.mitre.org/data/definitions/532.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 6 Feb 2023
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Feb 2023, 23:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `k8s.io/client-go` (Go): affected `>=0.19.0, <0.19.6 || >=0.20.0-alpha.0, <0.20.0-alpha.2 || >=0.18.0, <0.18.14 || <0.17.16`; fixed in `0.19.6`, `0.20.0-alpha.2`, `0.18.14`, `0.17.16`
- `k8s.io/kubernetes` (Go): affected `<1.20.0-alpha.2`; fixed in `1.20.0-alpha.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Kubernetes client-go (versions before 0.17.16, from 0.18.0 before 0.18.14, from 0.19.0 before 0.19.6, and 0.20.0-alpha.0 before 0.20.0-alpha.2) and the k8s.io/kubernetes package before 1.20.0-alpha.2 write authorization and bearer tokens to log files when the logging level is 9 or higher. The source does not describe the attacker's access requirements; the exposure affects API server logs and client tool output such as kubectl. Upgrade client-go to 0.17.16, 0.18.14, 0.19.6, or 0.20.0-alpha.2, and upgrade Kubernetes to 1.20.0-alpha.2 or later.

Written 5 Nov 2026.

## 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

- 4.7 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`, from CNA (kubernetes)

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

## Timeline

- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8cfg-vx93-jvxw)

## Sources

- [GitHub Advisory Database: GHSA-8cfg-vx93-jvxw](https://github.com/advisories/GHSA-8cfg-vx93-jvxw)
- [OSV: GHSA-8cfg-vx93-jvxw](https://osv.dev/vulnerability/GHSA-8cfg-vx93-jvxw)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8565>
- <https://github.com/kubernetes/kubernetes/issues/95623>
- <https://github.com/kubernetes/kubernetes/pull/95316>
- <https://github.com/kubernetes/client-go/commit/19875a3d5a2e0d4f51c976a9e0662de3c2c011e3>
- <https://github.com/kubernetes/client-go/commit/1b8383fc150c9b816b0072032cca75754c2734d0>
- <https://github.com/kubernetes/client-go/commit/44e1a07f2d513e375c4b6ee6e890040b47befe86>
- <https://github.com/kubernetes/client-go/commit/e8f871a2e5fadf90fc114565abc0963967f1a373>
- <https://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419>
- <https://github.com/kubernetes/client-go>
- <https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ>
- <https://pkg.go.dev/vuln/GO-2021-0064>

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-8cfg-vx93-jvxw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8cfg-vx93-jvxw/>. Everything for agents: <https://agentprime.io/llms.txt>.
