# CVE-2026-21862: RustFS sourceIp bypass via spoofed X-Forwarded-For/Real-IP headers

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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:P`
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-02-03T16:06:08.929Z
- Modified: 2026-06-17T10:19:02.963Z
- Also known as: GHSA-fc6g-2gcp-2qrq
- Weaknesses: CWE-290
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

RustFS is a distributed object storage system built in Rust. Prior to version alpha.78, IP-based access control can be bypassed: get_condition_values trusts client-supplied X-Forwarded-For/X-Real-Ip without verifying a trusted proxy, so any reachable client can spoof aws:SourceIp and satisfy IP-allowlist policies. This issue has been patched in version alpha.78.

(As written by CVE List.)

## Affected

- rustfs rustfs: < alpha.78; 1.0.0
- rustfs (crates.io): before 1.0.0-alpha.78

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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:P`
- GitHub: CVSS:4.0 High `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:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/rustfs/rustfs/security/advisories/GHSA-fc6g-2gcp-2qrq> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21862> (advisory)
- <https://github.com/rustfs/rustfs/commit/b4ba62fa3300b5b258fdc0da141481e3be7ea960> (web)
- <https://github.com/rustfs/rustfs> (package)

## Sources

- CVE List: [CVE-2026-21862](https://www.cve.org/CVERecord?id=CVE-2026-21862), CVE Terms of Use, modified 2026-02-03
- GitHub Advisory Database: [GHSA-fc6g-2gcp-2qrq](https://github.com/advisories/GHSA-fc6g-2gcp-2qrq), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-21862](https://nvd.nist.gov/vuln/detail/CVE-2026-21862), Public domain, modified 2026-06-17

---

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