CVE-2026-45040

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

Published May 28, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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 RUST_LOG=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.

Analysis

AI-generated

Technical impact

RustFS, a distributed object storage system written in Rust, logs plaintext credentials—including SessionToken (JWT), SecretAccessKey, and complete JWT claims—when operating in debug mode. The flaw originates from unfiltered log output, enabling unprivileged users who can read server logs to obtain authentication credentials. This compromise could allow credential theft, session hijacking, or unauthorized access to stored data.

Affected Systems

The vulnerability affects RustFS versions prior to 1.0.0‑beta.2. Users running any release before that milestone, especially on production deployments that enable debug logging (RUST_LOG=debug), are at risk.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. EPSS is not available, and the issue is not currently listed in CISA’s KEV catalog, suggesting no known exploit activity to date. Exploitation requires the attacker to read the server logs, which typically implies local or compromised system access. By downgrading the logging level or upgrading to a patched version, the risk can be mitigated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RustFS to 1.0.0‑beta.2 or later.
  • Ensure that production deployments do not set RUST_LOG to debug; use info or warning levels instead.
  • Audit existing logs for exposed credentials and, if found, rotate or revoke the compromised keys.

Generated by OpenCVE AI on May 28, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rustfs
Rustfs rustfs
Vendors & Products Rustfs
Rustfs rustfs
Type Values Removed Values Added
Description 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 RUST_LOG=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.
Title RustFS: Sensitive Information Leakage (SessionToken and SecretAccessKey) in RustFS Logs [Debug Mode]
Weaknesses CWE-312
CWE-532
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 2, 2026, 1:55 PM
Reserved
May 8, 2026, 6:07 PM
Status
Deferred
Published
May 28, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:51 AM