CVE-2025-6624 in Snyk Cli
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 issu...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Snyk | Snyk Cli | < 1.1297.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6624 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-031675-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H |
| Published | 2025-06-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-532: CWE-532
Related attack patterns (CAPEC)
CAPEC-215 Fuzzing for application mapping via CWE-532
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Versions of the package snyk before 1.1297.3 are vulnerable to the insertion of sensitive information into log files, specifically when using the Snyk CLI in DEBUG or DEBUG/TRACE mode. This can expose container registry credentials provided via environment variables or command line arguments.
The vulnerability arises from the logging mechanism in the Snyk CLI. When the CLI is run in DEBUG or DEBUG/TRACE mode, it logs detailed information, which can inadvertently include sensitive data such as container registry credentials.
Questions
What is CVE-2025-6624?
Versions of the package snyk before 1.1297.3 are vulnerable to the insertion of sensitive information into log files, specifically when using the Snyk CLI in DEBUG or DEBUG/TRACE mode. This can expose container registry credentials provided via environment variables or command line arguments.
What is the CVSS score for CVE-2025-6624?
CVE-2025-6624 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2025-6624 actively exploited?
No confirmed active exploitation of CVE-2025-6624 as of 2026-09-25.
How do I remediate CVE-2025-6624?
Priority: HIGH. Advisory: https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli
What systems are affected by CVE-2025-6624?
CVE-2025-6624 affects Snyk Snyk Cli.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Snyk","product":"Snyk Cli","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.