Security mailing lists by PureSourceCode

CVE-2025-6624

LOW 1.2CVSS 4.0

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

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.

Published
26 Jun 2025
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Analyzed
Weakness
CWE-532
Also known as
GHSA-6hwc-9h8r-3vmfGO-2025-3789
Sources
NVDJSONOSV GHSA-6hwc-9h8r-3vmfJSONOSV GO-2025-3789JSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 4.0 LOW 1.2 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/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
OSV GitHub CVSS 4.0 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
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD snyk snyk_cli
cpe:2.3:a:snyk:snyk_cli:*:*:*:*:*:*:*:*
< 1.1297.3 1.1297.3
OSV npm snyk < 1.1297.3 1.1297.3
OSV Go github.com/snyk/go-application-framework all versions

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 26 Jun 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.