CVE-2026-24762: RustFS Logs Sensitive Credentials in Plaintext
Summary RustFS logs sensitive credential material (access key, secret key, session token) to application logs at INFO level. This results in credentials being recorded in plaintext in log output, which may be accessible to internal or external log consumers and could lead to compromise of sensitive credentials. This vulnerability is classified as an information disclosure issue (CWE-532).
Details The server writes newly generated STS credential information including the access key, secret key, and session token to logs. The following excerpts from application logs demonstrate this:
[2026-01-17 09:13:23.127767 +11:00] INFO [rustfs::admin::handlers::sts] [rustfs/src/admin/handlers/sts.rs:138] [rustfs-worker:ThreadId(4)] AssumeRole get newcred Credentials { accesskey: "5UGH6TM44IPA81AH1WZE", secretkey: "3BQ-KnOiB5ovmd5SU4wIK6sFfaPTliftvQiNLS", sessiontoken: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3Njg2NDQ4MDMsInBhcmVudCI6InJ1c3Rmc2FkbWluIn0.F9ZhARXyU0cB6QoFMElKK5tnsRFQM9WlpMiGVuuDOpOfNrbEKE9IK1oaJyqDsBlK115uYOcQcGohjgUPhOQ", expiration: Some(2026-01-17 10:13:23.0 +00:00:00), status: "on", parentuser: "rustfsadmin", groups: None, claims: None, name: None, description: None } By inspecting logs, an attacker or unauthorized internal user with access to logs could retrieve these credentials and use them to authenticate to RustFS services or perform other unauthorized actions.
Impact - Information Exposure: Plaintext authentication credentials appear in log files that may be retained, backed up, or forwarded to centralized logging systems. - Credential Compromise: Access keys, secret keys, and session tokens may be used by unauthorized individuals to authenticate to RustFS services or hijack sessions. - Insider Threat: Even users with limited access who can read logs may gain elevated access if they retrieve credential material. - Compliance Risk: Logging sensitive authentication material may violate organizational policies and industry compliance standards (e.g., PCI-DSS, SOC2, ISO 27001) that forbid exposure of authentication secrets in logs
Remediation - Do not include secrets in log output — redact secretkey, sessiontoken, and similar fields. - Log only safe identifiers such as non-sensitive IDs (e.g., parentuser, trace ID).
Other sources
RustFS is a distributed object storage system built in Rust. From versions alpha.13 to alpha.81, RustFS logs sensitive credential material (access key, secret key, session token) to application logs at INFO level. This results in credentials being recorded in plaintext in log output, which may be accessible to internal or external log consumers and could lead to compromise of sensitive credentials. This issue has been patched in version alpha.82.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24762?
The severity of CVE-2026-24762 is considered high due to the logging of sensitive credential information in plaintext.
How do I fix CVE-2026-24762?
To fix CVE-2026-24762, upgrade RustFS to version 1.0.0-alpha.82 or later.
What types of credentials are logged in CVE-2026-24762?
CVE-2026-24762 logs access keys, secret keys, and session tokens as plaintext.
In which versions of RustFS is CVE-2026-24762 present?
CVE-2026-24762 affects RustFS versions from alpha.13 to alpha.81 inclusive.
Can CVE-2026-24762 lead to a data breach?
Yes, CVE-2026-24762 can potentially lead to data breaches since sensitive credentials are logged in an accessible format.