CVE-2026-45041
published high CVSS 4.0 · 8.7RustFS: Hard-coded RSA private key in license verifier permits arbitrary license forgery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rustfs | — | rustfs< 1.0.0-beta.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rustfs | rustfs | < 1.0.0-beta.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-321 CWE-321: Use of Hard-coded Cryptographic Key
References
1Provider assertions
2GitHub_M · cna
RustFS: Hard-coded RSA private key in license verifier permits arbitrary license forgery
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3ebe74bdd094188c74935f09bbe1ac78d77a7c5a80ae1bf3f420e831dfef9f99
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record