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

Published May 28, 2026
·
Updated

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, getsharedsecret() in crates/ecstore/src/rpc/httpauth.rs, falls back to the public, source-tree-embedded DEFAULTSECRETKEY = "rustfsadmin" when neither the RUSTFSRPCSECRET environment variable nor the global S3 secret key has been configured. This vulnerability is fixed in 1.0.0-beta.2.

Affected Software

1 affected component
RustFS RustFS<1.0.0-beta.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RustFS to a version that resolves this vulnerability.

    Fixed in 1.0.0-beta.2
  2. Configuration

    Configure a strong, non-default secret by setting the RUSTFS_RPC_SECRET environment variable or configuring the global S3 secret key so the get_shared_secret() function does not fall back to the embedded DEFAULT_SECRET_KEY = "rustfsadmin".

    RustFS internode RPC authentication RUSTFS_RPC_SECRET / global S3 secret key = non-default secret (not "rustfsadmin")

Event History

May 28, 2026
CVE Published
via MITRE·06:39 PM
Data Sourced
via MITRE·06:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45039?

The severity of CVE-2026-45039 is critical with a score of 9.8.

2

How do I fix CVE-2026-45039?

To fix CVE-2026-45039, update RustFS to the latest version, ensuring that the shared secret is properly configured.

3

What exploitation impact does CVE-2026-45039 have?

CVE-2026-45039 allows peer impersonation due to the fallback to a public default credential.

4

Which version of RustFS is affected by CVE-2026-45039?

CVE-2026-45039 affects versions of RustFS prior to 1.0.0-beta.2.

5

What does the HMAC secret in CVE-2026-45039 protect?

The HMAC secret in CVE-2026-45039 is used to authenticate internode RPC requests within the RustFS system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203