CVE-2025-6624: Low severity Snyk Snyk CLI vulnerability

Published Jun 26, 2025
·
Updated

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 (SNYKREGISTRYUSERNAME and SNYKREGISTRYPASSWORD), 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

4 affected componentsFixes available
Snyk Snyk CLI<1.1297.3
go/github.com/snyk/go-application-framework<0.0.0-20250623124518-ca7ba7d72e68
npm/snyk<1.1297.3
1.1297.3
Snyk Snyk CLI<1.1297.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/snyk to a version that resolves this vulnerability.

    Fixed in 1.1297.3
  2. Upgrade

    Upgrade snyk to a version that resolves this vulnerability.

    Fixed in 1.1297.3
  3. Configuration

    Do not run Snyk CLI with DEBUG or DEBUG/TRACE mode enabled when using registry credentials via environment variables (SNYK_REGISTRY_USERNAME and SNYK_REGISTRY_PASSWORD) or CLI flags (--password/-p and --username/-u).

    Snyk CLI debug logging DEBUG/TRACE mode and TRACE log level = disable
  4. Compensating control

    If you must run affected Snyk commands in debug mode, ensure the TRACE log level is not enabled, so that Snyk access/refresh credential tokens and container registry credentials are not written to local Snyk CLI debug logs (applies to snyk auth with debug+TRACE, and to container test/monitor with debug enabled).

  5. Operational

    After any execution where Snyk CLI debug/TRACE logs may have captured sensitive registry credentials or Snyk access/refresh tokens, rotate the exposed container registry credentials and any potentially exposed Snyk tokens.

Event History

Jun 26, 2025
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 AM
Data Sourced
via GitHub·06:31 AM
DescriptionSeverityWeaknessAffected Software
Jul 9, 57515
Event
via FIRST·10:59 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6624?

CVE-2025-6624 is classified as a high-severity vulnerability due to the potential exposure of sensitive container registry credentials.

2

How do I fix CVE-2025-6624?

To fix CVE-2025-6624, upgrade to Snyk CLI version 1.1297.3 or later.

3

What information is exposed due to CVE-2025-6624?

CVE-2025-6624 can expose sensitive container registry credentials that are provided through environment variables or command line arguments.

4

In which versions of Snyk CLI is CVE-2025-6624 present?

CVE-2025-6624 affects Snyk CLI versions prior to 1.1297.3.

5

How does CVE-2025-6624 allow for sensitive information exposure?

CVE-2025-6624 allows sensitive information exposure through local Snyk CLI debug logs when run in DEBUG mode.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203