CVE-2026-46685 Details
Description
RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-beta.2, when RUSTFS_CORS_ALLOWED_ORIGINS is unset, the RustFS S3 listener's ConditionalCorsLayer reflects any request Origin value back as Access-Control-Allow-Origin and also sets Access-Control-Allow-Credentials: true and Access-Control-Allow-Headers: * on responses, including preflight responses and error responses. This creates a permissive cross-domain policy with untrusted origins. A browser visiting an attacker-controlled page can issue credentialed cross-origin requests to a reachable RustFS deployment and read the response when the victim browser has ambient credentials for the RustFS origin, such as saved HTTP Basic Auth credentials, reverse-proxy SSO cookies, or TLS client certificates. This vulnerability is fixed in 1.0.0-beta.2.
A vulnerability in RustFS versions prior to 1.0.0-beta.2 allows for permissive cross-origin resource sharing (CORS) policies when the RUSTFS_CORS_ALLOWED_ORIGINS variable is unset. In these versions, the S3 listener's ConditionalCorsLayer reflects any request Origin value back as Access-Control-Allow-Origin, and also includes Access-Control-Allow-Credentials: true and Access-Control-Allow-Headers: * in responses, including preflight and error responses. This behavior creates a cross-domain policy that can be exploited by a browser visiting an attacker-controlled page, allowing credentialed cross-origin requests to be sent to a RustFS deployment. The response can be read if the victim's browser has saved HTTP Basic Auth credentials, reverse-proxy SSO cookies, or TLS client certificates for the RustFS origin.
Users can update to RustFS version 1.0.0-beta.2 or later, where this vulnerability is fixed. Until then, it's recommended to manually set RUSTFS_CORS_ALLOWED_ORIGINS to a list of trusted origins and avoid exposing RustFS endpoints to browsers that may carry ambient credentials for the RustFS origin.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 28, 2026CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rustfs/rustfs/security/advisories/GHSA-x5xv-223c-8vm7 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/rustfs/rustfs/security/advisories/GHSA-x5xv-223c-8vm7 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-346 | Origin Validation Error | [email protected] |
| CWE-942 | Permissive Cross-domain Policy with Untrusted Domains | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| RustFS | <= 1.0.0-beta.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | New CVE Received | [email protected] |
Volerion