RustFS: Hard-coded RSA private key in license verifier permits arbitrary license forgery
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-321.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA rustfs (rustfs) Fixed in 1.0.0-beta.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45041
More rustfs vulnerabilities
- TI-2025-42382 RustFS has a gRPC Hardcoded Token Authentication Bypass CVSS 3.1CRITICAL 9.8
- TI-2026-32895 RustFS: Authentication bypass in /profile/cpu and /profile/memory allows unauthenticated access to profiling handlers CVSS 4.0HIGH 8.8
- TI-2025-42176 RustFS Path Traversal Vulnerability CVSS 4.0HIGH 8.8
- TI-2026-36822 RustFS Snowball Auto-Extract: Path Traversal allows cross-bucket object injection CVSS 3.1HIGH 8.6
- TI-2026-32894 RustFS: ImportIam Allows Creation of Backdoor Service Accounts Under Any Parent Including Root CVSS 4.0CRITICAL 9.3
- TI-2026-17564 RustFS sourceIp bypass via spoofed X-Forwarded-For/Real-IP headers CVSS 4.0HIGH 7.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences