Home

Description

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, crates/appauth/src/token.rs ships a 2048-bit RSA private key as a string constant named TEST_PRIVATE_KEY and uses it in production via parse_license() to "verify" license tokens. Because the key is embedded in every published source release and binary, anyone who can read the repository or extract it from the binary can mint arbitrary license tokens (any subject, any expiration). When the license Cargo feature is enabled, this defeats the entire license-enforcement mechanism. This vulnerability is fixed in 1.0.0-beta.2.

PUBLISHED Reserved 2026-05-08 | Published 2026-05-28 | Updated 2026-05-29 | Assigner GitHub_M




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-321: Use of Hard-coded Cryptographic Key

Product status

< 1.0.0-beta.2
affected

References

github.com/...rustfs/security/advisories/GHSA-923g-jp7v-f97f exploit

github.com/...rustfs/security/advisories/GHSA-923g-jp7v-f97f

cve.org (CVE-2026-45041)

nvd.nist.gov (CVE-2026-45041)

Download JSON