# GHSA-j5vm-7qcc-2wwg: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output

- Severity: Low 2.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-04-10T17:15:26.000Z
- Modified: 2026-09-10T03:50:11.374Z
- Also known as: GO-2024-2703
- Related: CGA-fh5v-w83r-3gmw
- Weaknesses: CWE-200

## Description

### Impact

_What kind of vulnerability is it? Who is impacted?_

Storage credentials are written to the console.

### Patches

_Has the problem been patched?_ Yes, see #3589
_What versions should users upgrade to?_
- Any version after or including commit 1d6f852cd6534f4bea978cbdc85c583803d79f77
- No release has been created yet.

### Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_

- Be aware that `kopia repo status --json` will write the credentials to the output without scrubbing them.
- Avoid executing `kopia repo status` with the `--json` flag in an insecure environment where.
- Avoid logging the output of the `kopia repo status --json` command.

(As written by GitHub Advisory Database.)

## Affected

- github.com/kopia/kopia (Go): before 0.16.0

## References

- <https://github.com/kopia/kopia/security/advisories/GHSA-j5vm-7qcc-2wwg> (advisory, web)
- <https://github.com/kopia/kopia/pull/3589> (fix, web)
- <https://github.com/kopia/kopia/commit/1d6f852cd6534f4bea978cbdc85c583803d79f77> (fix, web)
- <https://github.com/kopia/kopia> (package)

## Sources

- GitHub Advisory Database: [GHSA-j5vm-7qcc-2wwg](https://github.com/advisories/GHSA-j5vm-7qcc-2wwg), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2703](https://pkg.go.dev/vuln/GO-2024-2703), CC-BY-4.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-j5vm-7qcc-2wwg · Whole record: https://cve.day/GHSA-j5vm-7qcc-2wwg.json · Rebuilt by cve.day 2026-11-25T22:56:23.698Z
