High severity · published May 28, 2026
CVE-2026-45041
RustFS: Hard-coded RSA private key in license verifier permits arbitrary license forgery
8.7
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RU
rustfs · rustfs
< 1.0.0-beta.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-45041
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-45041
github.com
https://github.com/rustfs/rustfs/security/advisories/GHSA-923g-jp7v-f97f
More from rustfs
9.8
CVE-2026-45039
RustFS: Internode RPC HMAC secret falls back to public default credential, enabling peer impersonation
9.8
CVE-2026-22043
RustFS has IAM deny_only Short-Circuit that Allows Privilege Escalation via Service Account Minting
9.8
CVE-2025-68705
RustFS Path Traversal Vulnerability
9.8
CVE-2025-68926
RustFS has a gRPC Hardcoded Token Authentication Bypass
9.3
CVE-2026-45043
RustFS: ImportIam Allows Creation of Backdoor Service Accounts Under Any Parent Including Root
