# CVE-2026-46685: RustFS: Reflective CORS with credentials on S3 listener; unauthenticated license metadata endpoint on console

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T18:41:35.789Z
- Modified: 2026-06-17T10:53:50.093Z
- Weaknesses: CWE-306, CWE-346, CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rustfs rustfs: < 1.0.0-beta.2

## References

- <https://github.com/rustfs/rustfs/security/advisories/GHSA-x5xv-223c-8vm7> (exploit)

## Sources

- CVE List: [CVE-2026-46685](https://www.cve.org/CVERecord?id=CVE-2026-46685), CVE Terms of Use, modified 2026-05-28
- NVD: [CVE-2026-46685](https://nvd.nist.gov/vuln/detail/CVE-2026-46685), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-46685 · Whole record: https://cve.day/CVE-2026-46685.json · Rebuilt by cve.day 2026-11-25T22:59:23.014Z
