IP-based Access Control Bypass in RustFS Distributed Object Storage System
CVE-2026-21862
7.7HIGH
What is CVE-2026-21862?
RustFS, a distributed object storage system written in Rust, has a security vulnerability that allows attackers to bypass IP-based access control measures. This issue arises because the 'get_condition_values' function accepts client-supplied X-Forwarded-For and X-Real-Ip headers without proper verification of trusted proxies. Consequently, any accessible client has the potential to spoof the 'aws:SourceIp' header, thus evading IP allowlist policies. Users are advised to upgrade to version alpha.78 or later, where this issue has been effectively mitigated.
Affected Version(s)
rustfs < alpha.78
