Sensitive information in log files in snyk
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | snyk | before 1.1297.3 | 1.1297.3 | Patch available | CNA |
| — | snyk (npm) | before 1.1297.3 | 1.1297.3 | Patch available | GHSA-6hwc-9h8r-3vmf |
| — | github.com/snyk/go-application-framework (Go) | all versions | — | No fix listed | GHSA-6hwc-9h8r-3vmf |
- snyk Vendor— Affected before 1.1297.3 Fixed in 1.1297.3 Patch available CNA
- snyk (npm) Vendor— Affected before 1.1297.3 Fixed in 1.1297.3 Patch available GHSA-6hwc-9h8r-3vmf
- github.com/snyk/go-application-framework (Go) Vendor— Affected all versions Fixed in — No fix listed GHSA-6hwc-9h8r-3vmf
Remediation
- Fix · CNA snyk Fixed in 1.1297.3
- Fix · GHSA-6hwc-9h8r-3vmf snyk (npm) Fixed in 1.1297.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-6624
- 2026-10-03 Alias added: GHSA-6hwc-9h8r-3vmf
References
Patch 2
More Snyk Cli vulnerabilities
- TI-2022-07159 Command injection in snyk CVSS 3.1MEDIUM 6.3
- TI-2022-08313 Code injection in snyk CVSS 3.1HIGH 8.8
- TI-2024-32649 OS command injection in Snyk Cli CVSS 4.0HIGH 7.5
- TI-2024-32648 OS command injection in Snyk Cli CVSS 4.0HIGH 7.5
Sources
- CVE-2025-6624 · CVE Program
- CVE-2025-6624 · NVD
- FIRST EPSS
- GHSA-6hwc-9h8r-3vmf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences