Vulnerabilities in pkg:npm/snyk
PACKAGECVE-2025-6624 is a LOW (CVSS 7.2) snyk cli insertion of sensitive vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Snyk libraries in the npm ecosystem. The issue involves snyk cli insertion of sensitive information into log file allowed in debug or debug/trace mode. Remediation is available by upgrading affected packages to version 1.1297.3.
pkg:npm/snyk
Vulnerability advisories affecting package pkg:npm/snyk. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6hwc-9h8r-3vmf | CVE-2025-6624 | LOW | Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode |
| GHSA-4vrv-93c7-m92j | CVE-2022-24441 | HIGH | snyk Code Injection vulnerability |
| GHSA-4x6g-3cmx-w76r | CVE-2022-22984 | MODERATE | Snyk plugins vulnerable to Command Injection |
| GHSA-hpqj-7cj6-hfj8 | CVE-2022-40764 | HIGH | Snyk CLI affected by Command Injection vulnerability |
CVE-2025-6624 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-6624
To remediate this vulnerability, upgrade all affected Snyk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install snyk@1.1297.3
Upgrade github.com/snyk/go-application-framework to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls snyk
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-6624, inspect your project dependencies using npm:
npm ls snyk
Analyze the terminal output to locate any version of Snyk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1297.3), your application is affected.
Note: The npm ls snyk command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Snyk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-6624 Affected Snyk Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snyk
|
npm |
< 1.1297.3
|
1.1297.3
|
|
github.com/snyk/go-application-framework
|
Go |
|
|
References
Frequently Asked Questions
What is CVE-2025-6624?
Which Snyk versions are affected?
What version fixes CVE-2025-6624?
Is snyk affected?
Is github.com/snyk/go-application-framework affected?
What is the CVSS score of CVE-2025-6624?
What CWE is associated with CVE-2025-6624?
How can I check npm dependencies for CVE-2025-6624?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6hwc-9h8r-3vmf",
"modified" : "2025-06-30T11:42:49Z",
"published" : "2025-06-26T06:31:04Z",
"aliases" : [ "CVE-2025-6624" ],
"summary" : "Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode",
"details" : "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.\n\nThe issue affects the following Snyk commands:\n\n1. 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).\n\n2. 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.\n\n3. 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "snyk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1297.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/snyk/go-application-framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 0.0.0-20250623124518-ca7ba7d72e68"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-6624"
}, {
"type" : "WEB",
"url" : "https://github.com/snyk/cli/commit/38322f377da7e5f1391e1f641710be50989fa4df"
}, {
"type" : "WEB",
"url" : "https://github.com/snyk/go-application-framework/commit/ca7ba7d72e68455afb466a7a47bb2c9aece86c18"
}, {
"type" : "WEB",
"url" : "https://docs.snyk.io/snyk-cli/debugging-the-snyk-cli"
}, {
"type" : "WEB",
"url" : "https://github.com/snyk"
}, {
"type" : "WEB",
"url" : "https://github.com/snyk/cli/releases/tag/v1.1297.3"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-SNYK-10497607"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-30T11:42:49Z",
"nvd_published_at" : "2025-06-26T05:15:23Z"
}
}