CVE-2026-46685 PUBLISHED

RustFS: Reflective CORS with credentials on S3 listener; unauthenticated license metadata endpoint on console

Assigner: GitHub_M
Reserved: 15.05.2026 Published: 28.05.2026 Updated: 28.05.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor rustfs
Product rustfs
Versions
  • Version < 1.0.0-beta.2 is affected

References

Problem Types

  • CWE-306: Missing Authentication for Critical Function CWE
  • CWE-346: Origin Validation Error CWE
  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains CWE