CVE-2025-6624
Snyk Log File Credential Exposure Vulnerability
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.
INFO
Published Date :
June 26, 2025, 5:15 a.m.
Last Modified :
July 9, 2025, 5:53 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
0.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-6624
.
URL | Resource |
---|---|
https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli | Technical Description |
https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df | Patch |
https://github.com/snyk/cli/releases/tag/v1.1297.3 | Release Notes |
https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18 | Patch |
https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-6624
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-6624
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:snyk:snyk_cli:*:*:*:*:*:*:*:* versions up to (excluding) 1.1297.3 Added Reference Type Snyk: https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli Types: Technical Description Added Reference Type Snyk: https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df Types: Patch Added Reference Type Snyk: https://github.com/snyk/cli/releases/tag/v1.1297.3 Types: Release Notes Added Reference Type Snyk: https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18 Types: Patch Added Reference Type Snyk: https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607 Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 26, 2025
Action Type Old Value New Value Added CWE CWE-532 -
New CVE Received by [email protected]
Jun. 26, 2025
Action Type Old Value New Value Added 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. Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-532 Added Reference https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli Added Reference https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df Added Reference https://github.com/snyk/cli/releases/tag/v1.1297.3 Added Reference https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18 Added Reference https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-6624
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-6624
weaknesses.