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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.4
- **CVSS:** 2.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: Present; Privileges required: High; User interaction: Passive; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-6hwc-9h8r-3vmf, GO-2025-3789
- **Published:** 2025-06-26T05:00:09.954Z
- **Modified:** 2026-06-17T10:02:16.457Z

## Who should check

- Projects that depend on npm package snyk (\< 1.1297.3)
- Projects that depend on Go package github.com/snyk/go-application-framework
- Anyone running snyk \< 1.1297.3

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

## Affected and fixed versions

- npm `snyk`: affected \< 1.1297.3; fixed 1.1297.3 (osv)
- Go `github.com/snyk/go-application-framework`: affected see advisory; fixed no fix listed yet (osv)
- snyk: \< 1.1297.3 (cvelist)

## Mitigation

- Upgrade snyk to 1.1297.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-6624. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-6624.md
Affected: snyk < 1.1297.3; github.com/snyk/go-application-framework
Fixed in: 1.1297.3

Steps:
1. Search this machine and project for snyk (npm), github.com/snyk/go-application-framework (Go), snyk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-6624 being exploited?

There is no confirmed exploitation: CVE-2025-6624 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-6624?

Low: CVSS 2.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-6624?

snyk \< 1.1297.3; github.com/snyk/go-application-framework.

### Is there a fix for CVE-2025-6624?

Yes. Fixed in 1.1297.3. Upgrade snyk to 1.1297.3 or later.

### How do I check if I'm affected by CVE-2025-6624?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-6624>
- vendor: <https://github.com/advisories/GHSA-6hwc-9h8r-3vmf>
- patch: <https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df>
- patch: <https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18>
- other: <https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607>
- other: <https://github.com/snyk/cli/releases/tag/v1.1297.3>
- other: <https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli>
- other: <https://github.com/snyk>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-6624>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6hwc-9h8r-3vmf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3789> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-6624> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-6624>
