Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnable Snyk CLI debug mode
-
DeliveryExecute container/auth/iac command with credentials via flags or env vars
-
ExploitCredentials written verbatim to local debug log
-
ExecutionAttacker obtains read access to log file
-
PersistExtract registry credentials or Snyk tokens
-
ImpactAuthenticate to container registry or Snyk platform
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | All of the following conditions must be satisfied simultaneously: (1) Snyk CLI version prior to 1.1297.3 is in use; (2) debug mode is explicitly enabled via the -d flag or an equivalent DEBUG environment variable - this is non-default and typically activated only during troubleshooting or CI diagnostics; (3) for container registry credential exposure via |
| Impact | The vendor-assigned CVSS 4.0 score of 1.2 accurately reflects the extremely restrictive exploitation conditions: local attack vector, high complexity, explicit prerequisites, high privilege, and passive user interaction all foreclose casual or remote exploitation. EPSS sits at 0.03% (8th percentile), corroborating the absence of any automated exploitation pathway, and no CISA KEV listing exists. The E:P modifier in the CVSS 4.0 vector denotes proof-of-concept status, which here reflects the trivially self-demonstrable nature of the flaw rather than a dedicated exploit tool. The real-world risk differential lies entirely in subsequent-system impact: leaked container registry credentials or Snyk OAuth tokens can compromise external registries and platform accounts at high severity (SC:H/SI:H/SA:H in the vendor vector), meaning that even a mid-sized municipal IT team in ustka running a Snyk-enabled CI/CD pipeline should audit whether debug-mode runs are captured by centralized log aggregators or artifact retention systems, since those are the primary higher-risk exposure paths. The threat is not opportunistic remote attack but rather unintentional credential persistence in CI build logs, SIEM forwarding, or shared developer machines where log files carry world-readable permissions. Overall this is a low-urgency patching item in isolation but warrants attention wherever debug CLI output is systematically archived. |
| Exploit ScenarioDerived | A developer troubleshooting a container scan runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Snyk CLI before version 1.1297.3 writes container registry credentials and Snyk authentication tokens verbatim into local debug log files when invoked with DEBUG or TRACE logging levels, enabling any party with read access to those logs to harvest credentials for downstream systems. Three command paths are affected: snyk container test/monitor (registry credentials via env vars or CLI flags), snyk auth at TRACE level (Snyk OAuth tokens), and snyk iac test with remote IAC bundles at TRACE level (docker registry tokens). No public exploit or active exploitation has been identified; vendor patch v1.1297.3 released 2025-06-23 is confirmed available.
RemediationAI
Upgrade the Snyk CLI to version 1.1297.3 or later - the vendor-confirmed patch is documented at github.com/snyk/cli/releases/tag/v1.1297.3 with code changes in commits 38322f37 (CLI) and ca7ba7d7 (go-application-framework). If immediate upgrade is not feasible, the following compensating controls reduce exposure: avoid supplying credentials via --username/-u, --password/-p, SNYK_REGISTRY_USERNAME, or SNYK_REGISTRY_PASSWORD when debug mode is active - prefer Docker credential helpers instead, as these are not logged; disable DEBUG and TRACE log levels in CI/CD pipelines except during active troubleshooting, and ensure those sessions are not artifact-archived; restrict file permissions on CLI debug logs to 600; and use short-lived, narrowly scoped registry tokens in place of persistent passwords so that any inadvertently logged credential has a minimal blast radius. Review centralized SIEM or log-forwarding configurations to confirm debug-level CLI output is either excluded or masked before transmission.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Snyk CLI (cpe:2.3:a:snyk:snyk_cli:*:*:*:*:*:*:*:*) is a developer-facing security scanning tool supporting Docker/OCI container analysis and infrastructure-as-code auditing, written across a Go core (cliv2) and TypeScript legacy layer. The root cause is CWE-532 (Insertion of Sensitive Information into Log File): HTTP Basic Authentication credentials - base64-encoded username:password pairs, raw --username/-u and --password/-p flag values, and Snyk OAuth access/refresh tokens - were written without scrubbing to debug log output. The underlying snyk/go-application-framework library lacked a unified credential-scrubbing layer; sanitization logic was duplicated and incomplete. The fix in v1.1297.3 centralizes SENSITIVE_FIELD_NAMES and SANITIZE_REPLACEMENT_STRING constants in pkg/logging, adds regex-based masking covering JSON credential fields and CLI argument patterns (-u/-p with and without '='), and removes a direct debug call in the TypeScript layer (src/cli/args.ts) that logged the full argument vector including credential flags.
Know when Snyk Cli gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Low–High)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
Local file read needed; debug mode non-default raises AC:H; leaked credentials compromise external registries, yielding scope change and C:H.
AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 1 npm packages depend on snyk (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.1297.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The package snyk before 1.1064.0 are vulnerable to Code Injection when analyzing a project. Rated high severity (CVSS 8.
The package snyk before 1.1064.0; the package snyk-mvn-plugin before 2.31.3; the package snyk-gradle-plugin before 3.24.
The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted Gradle project. Rated hi
The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted PHP project. Rated high
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
EUVD-2025-19191
GHSA-6hwc-9h8r-3vmf
NVD
CVE.org
EPSS
Exploit-DB