CVE-2026-45039 PUBLISHED

RustFS: Internode RPC HMAC secret falls back to public default credential, enabling peer impersonation

Assigner: GitHub_M
Reserved: 08.05.2026 Published: 28.05.2026 Updated: 28.05.2026

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, the internode RPC layer authenticates every request with an HMAC-SHA256 signature using a shared secret. The function that produces this secret, get_shared_secret() in crates/ecstore/src/rpc/http_auth.rs, falls back to the public, source-tree-embedded DEFAULT_SECRET_KEY = "rustfsadmin" when neither the RUSTFS_RPC_SECRET environment variable nor the global S3 secret key has been configured. This vulnerability is fixed in 1.0.0-beta.2.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor rustfs
Product rustfs
Versions
  • Version < 1.0.0-beta.2 is affected

References

Problem Types

  • CWE-798: Use of Hard-coded Credentials CWE
  • CWE-1392: Use of Default Credentials CWE