CVE 8.7 HIGH

RustFS: Hard-coded RSA private key in license verifier permits arbitrary license forgery_CVE-2026-45041

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

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.

AI Analysis

Hard-coded RSA private key in license verifier permits arbitrary license forgery

Basic Information

ID CVE-2026-45041
Source GitHub_M
Published May 28, 2026 at 18:34

Affected Product

Vendor rustfs
Product rustfs
Version < 1.0.0-beta.2
Affected Versions rustfs rustfs < 1.0.0-beta.2

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor RustFS
Product RustFS
Version < 1.0.0-beta.2

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.