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.
Published: 2026-05-28
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 02 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 28 May 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Rustfs
Rustfs rustfs
Vendors & Products Rustfs
Rustfs rustfs

Thu, 28 May 2026 19:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-02T13:55:54.876Z

Reserved: 2026-05-08T18:07:27.341Z

Link: CVE-2026-45040

cve-icon Vulnrichment

Updated: 2026-06-02T13:55:14.054Z

cve-icon NVD

Status : Deferred

Published: 2026-05-28T19:16:38.543

Modified: 2026-06-02T14:16:54.380

Link: CVE-2026-45040

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T21:15:27Z

Weaknesses
  • CWE-312

    Cleartext Storage of Sensitive Information

  • CWE-532

    Insertion of Sensitive Information into Log File