# CVE-2025-6624: Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode

- Severity: Low 2.4 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-06-26T05:00:09.954Z
- Modified: 2026-06-17T10:02:16.457Z
- Also known as: GHSA-6hwc-9h8r-3vmf, GO-2025-3789
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: snyk

## Description

Versions of the package snyk before 1.1297.3 are vulnerable to Insertion of Sensitive Information into Log File through local Snyk CLI debug logs. Container Registry credentials provided via environment variables or command line arguments can be exposed when executing Snyk CLI in DEBUG or DEBUG/TRACE mode.

The issue affects the following Snyk commands:

1. When snyk container test or snyk container monitor commands are run against a container registry, with debug mode enabled, the container registry credentials may be written into the local Snyk CLI debug log. This only happens with credentials specified in environment variables (SNYK_REGISTRY_USERNAME and SNYK_REGISTRY_PASSWORD), or in the CLI (--password/-p and  --username/-u).

2. When snyk auth command is executed with debug mode enabled AND the log level is set to TRACE, the Snyk access / refresh credential tokens used to connect the CLI to Snyk may be written into the local CLI debug logs.

3. When snyk iac test is executed with a Remote IAC Custom rules bundle, debug mode enabled, AND the log level is set to TRACE, the docker registry token may be written into the local CLI debug logs.

(As written by CVE List.)

## Affected

- snyk: before 1.1297.3
- snyk (npm): before 1.1297.3
- github.com/snyk/go-application-framework (Go): all versions
- snyk snyk_cli: before 1.1297.3

## Every score

- snyk: CVSS:4.0 2.4 Low `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:P`
- snyk: CVSS:3.1 7.2 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 7.2 Low `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:P`

## References

- <https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607> (third-party-advisory, web)
- <https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df> (patch, web)
- <https://github.com/snyk/cli/releases/tag/v1.1297.3> (release-notes, web)
- <https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli> (technical-description, web)
- <https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6624> (advisory)
- <https://github.com/snyk> (web)
- <https://github.com/advisories/GHSA-6hwc-9h8r-3vmf> (advisory)

## Sources

- CVE List: [CVE-2025-6624](https://www.cve.org/CVERecord?id=CVE-2025-6624), CVE Terms of Use, modified 2025-06-26
- GitHub Advisory Database: [GHSA-6hwc-9h8r-3vmf](https://github.com/advisories/GHSA-6hwc-9h8r-3vmf), CC-BY-4.0, modified 2025-07-28
- Go Vulnerability Database: [GO-2025-3789](https://pkg.go.dev/vuln/GO-2025-3789), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-6624](https://nvd.nist.gov/vuln/detail/CVE-2025-6624), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6624 · Whole record: https://cve.day/CVE-2025-6624.json · Rebuilt by cve.day 2026-11-25T22:58:59.637Z
