CVE-2026-45041

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.
CVSS

No CVSS.

Configurations

No configuration.

History

29 May 2026, 15:16

Type Values Removed Values Added
References () https://github.com/rustfs/rustfs/security/advisories/GHSA-923g-jp7v-f97f - () https://github.com/rustfs/rustfs/security/advisories/GHSA-923g-jp7v-f97f -

28 May 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-28 19:16

Updated : 2026-05-29 15:16


NVD link : CVE-2026-45041

Mitre link : CVE-2026-45041

CVE.ORG link : CVE-2026-45041


JSON object : View

Products Affected

No product.

CWE
CWE-321

Use of Hard-coded Cryptographic Key