Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustfs
  4. ›
  5. CVE-2026-21862

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

February 3, 2026

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.

References

  • github.com/advisories/GHSA-fc6g-2gcp-2qrq
  • github.com/rustfs/rustfs
  • github.com/rustfs/rustfs/commit/b4ba62fa3300b5b258fdc0da141481e3be7ea960
  • github.com/rustfs/rustfs/security/advisories/GHSA-fc6g-2gcp-2qrq
  • nvd.nist.gov/vuln/detail/CVE-2026-21862

Code Behaviors & Features

Detect and mitigate CVE-2026-21862 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0-alpha.78

Fixed versions

  • 1.0.0-alpha.78

Solution

Upgrade to version 1.0.0-alpha.78 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing

Source file

cargo/rustfs/CVE-2026-21862.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:59 +0000.