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

Medium 5.3 Published Updated

Attackers with log access can steal credentials when RustFS runs in debug mode, exposing SessionTokens and SecretAccessKeys in plaintext logs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-45040?

CVE-2026-45040 is a medium-severity vulnerability in rustfs, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-532, CWE-312

Which versions are affected by CVE-2026-45040?

How do I fix CVE-2026-45040?

No fix has been published for CVE-2026-45040 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-45040 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45040 exists.

Sources

Also known as GHSA-8cm2-h255-v749.

Is CVE-2026-45040 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free