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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T18:35:48.505Z
- Modified: 2026-06-17T10:51:38.360Z
- Weaknesses: CWE-312, CWE-532
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- rustfs rustfs: < 1.0.0-beta.2

## References

- <https://github.com/rustfs/rustfs/security/advisories/GHSA-8cm2-h255-v749> (exploit)

## Sources

- CVE List: [CVE-2026-45040](https://www.cve.org/CVERecord?id=CVE-2026-45040), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2026-45040](https://nvd.nist.gov/vuln/detail/CVE-2026-45040), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-45040 · Whole record: https://cve.day/CVE-2026-45040.json · Rebuilt by cve.day 2026-11-25T22:59:23.007Z
