CVE-2026-45041: RustFS - Authentication Bypass
- Cve: CVE-2026-45041
- Name: RustFS - Authentication Bypass
- 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.
- Impact: Attackers can create arbitrary license tokens, bypassing license enforcement and gaining unauthorized access.
- Remediation: Update to version 1.0.0-beta.2 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirements: Attacker needs access to source code or binary to extract private key
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.7
- Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00239
- Epss percentile: 0.15126
- Assignee: [email protected]
- Published at: 2026-05-28T19:16:38Z
- Age in days: 180
- Modified at: 2026-06-17T10:51:38Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45041
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/rustfs/rustfs/security/advisories/GHSA-923g-jp7v-f97f | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rustfs:rustfs | < 1.0.0-beta.2 | no | cna_alias_text | /v1/products/rustfs/rustfs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rustfs/rustfs | security_advisory | yes | /v1/repositories/rustfs/rustfs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 3934
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports