Low

Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode

  • Disclosed: 26.06.2025
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package snyk < 1.1297.3 1.1297.3

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-532
Platform
npm
Package
snyk
Disclosed
26.06.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-6hwc-9h8r-3vmf - CC BY 4.0

Vulnerability history: snyk

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
10.2022 06.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 1
  • Low 1

Disclosures per year

  1. 2022: 2
  2. 2023: 1
  3. 2024: 0
  4. 2025: 1
  5. 2026: 0
  1. Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode this entry
    Low · 7.2 CVE-2025-6624 < 1.1297.3 1.1297.3
  2. High · 8.8 CVE-2022-24441 < 1.1064.0 1.1064.0
  3. Medium · 6.3 CVE-2022-22984 < 1.1064.0 1.1064.0
  4. High · 7.8 CVE-2022-40764 < 1.996.0 1.996.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.