CVE-2026-45040: RustFS: Sensitive Information Leakage (SessionToken and SecretAccessKey) in RustFS Logs [Debug Mode]

Published May 28, 2026
·
Updated

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, RustFS suffers from sensitive information leakage in log outputs. When the server is run with RUSTLOG=debug sensitive credentials including SessionToken (JWT), SecretAccessKey, and full JWT claims are printed in plaintext to the server logs. This vulnerability is fixed in 1.0.0-beta.2.

Affected Software

1 affected component
RustFS RustFS<1.0.0-beta.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RustFS to a version that resolves this vulnerability.

    Fixed in 1.0.0-beta.2
  2. Configuration

    Do not run the server with RUST_LOG=debug because debug logging prints SessionToken (JWT), SecretAccessKey, and full JWT claims to logs. Set RUST_LOG to a less verbose level such as 'info' or 'warn'.

    RustFS server RUST_LOG = not 'debug' (e.g., 'info' or 'warn')
  3. Operational

    Assume sensitive credentials may have been exposed if the server was run with RUST_LOG=debug. Rotate/replace any SessionToken (JWT), SecretAccessKey, and other affected credentials, invalidate exposed JWTs/sessions, and review logs for instances of leaked secrets.

Event History

May 28, 2026
CVE Published
via MITRE·06:35 PM
Data Sourced
via MITRE·06:35 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
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-2026-45040?

The severity of CVE-2026-45040 is rated at 50, indicating a moderate risk due to sensitive information leakage.

2

How do I fix CVE-2026-45040?

To fix CVE-2026-45040, upgrade RustFS to version 1.0.0-beta.2 or later to prevent sensitive information from being logged.

3

What type of information is leaked in CVE-2026-45040?

CVE-2026-45040 leads to the leakage of sensitive credentials such as SessionToken, SecretAccessKey, and full JWT claims in debug logs.

4

How does CVE-2026-45040 affect RustFS users?

Users of RustFS running the server in debug mode may inadvertently expose critical sensitive information through log outputs.

5

In what mode does CVE-2026-45040 become a risk?

CVE-2026-45040 becomes a risk when RustFS is configured to run with RUST_LOG set to debug.

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