CVE-2026-24762: Rustfs RustFS Logs Sensitive Credentials Vulnerability
MODERATECVE-2026-24762 is a MODERATE rustfs logs sensitive credentials vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Rustfs libraries in the crates.io ecosystem. The issue involves rustfs logs sensitive credentials in plaintext. Remediation is available by upgrading affected packages to version 1.0.0-alpha.82.
CVE-2026-24762 at a Glance
How to Fix CVE-2026-24762
To remediate this vulnerability, upgrade all affected Rustfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rustfs to 1.0.0-alpha.82
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rustfs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-24762, inspect your project dependencies for Rustfs:
inspect dependencies for rustfs
Analyze the terminal output to locate any version of Rustfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0-alpha.82), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Rustfs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-24762 Affected Rustfs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rustfs
|
crates.io |
≥ 1.0.0-alpha.13
< 1.0.0-alpha.82
|
1.0.0-alpha.82
|
References
Frequently Asked Questions
What is CVE-2026-24762?
Which Rustfs versions are affected?
What version fixes CVE-2026-24762?
Is rustfs affected?
What CWE is associated with CVE-2026-24762?
How can I check crates.io dependencies for CVE-2026-24762?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r54g-49rx-98cr",
"modified" : "2026-02-03T19:44:18Z",
"published" : "2026-02-03T17:37:33Z",
"aliases" : [ "CVE-2026-24762" ],
"summary" : "RustFS Logs Sensitive Credentials in Plaintext",
"details" : "### Summary\nRustFS 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).\n\n### Details\nThe 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:\n\n```\n[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 new_cred Credentials { access_key: \"5UGH6TM44IPA81AH1WZE\", secret_key: \"3BQ-KnO_iB5ovmd5SU4wIK6sFfaPTliftvQ_iNLS\", session_token: \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE3Njg2NDQ4MDMsInBhcmVudCI6InJ1c3Rmc2FkbWluIn0.F9ZhARXyU0cB6QoFMElKK5tns_RFQM9WlpMiGVuuDOpOfNrbEKE_9IK1oaJ_yqDsBlK115uYOcQcGohjgUPhOQ\", expiration: Some(2026-01-17 10:13:23.0 +00:00:00), status: \"on\", parent_user: \"rustfsadmin\", groups: None, claims: None, name: None, description: None }\n```\nBy 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.\n\n### Impact\n- Information Exposure: Plaintext authentication credentials appear in log files that may be retained, backed up, or forwarded to centralized logging systems.\n- Credential Compromise: Access keys, secret keys, and session tokens may be used by unauthorized individuals to authenticate to RustFS services or hijack sessions.\n- Insider Threat: Even users with limited access who can read logs may gain elevated access if they retrieve credential material.\n- 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\n\n### Remediation\n- Do not include secrets in log output — redact secret_key, session_token, and similar fields.\n- Log only safe identifiers such as non-sensitive IDs (e.g., parent_user, trace ID).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "rustfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0-alpha.13"
}, {
"fixed" : "1.0.0-alpha.82"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0-alpha.81"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/rustfs/rustfs/security/advisories/GHSA-r54g-49rx-98cr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-24762"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rustfs/rustfs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-03T17:37:33Z",
"nvd_published_at" : "2026-02-03T16:16:14Z"
}
}