{"answers":{"affected":"2 open source packages ship an affected version, including rustfs. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-21862 exists.","fix":"Upgrade rustfs to 1.0.0-alpha.78 or later.","what":"CVE-2026-21862 is a high-severity authentication bypass vulnerability in rustfs, published on 3 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-21862 and fix it if it is affected.\n\nWhat it is: CVE-2026-21862 is a high-severity authentication bypass vulnerability in rustfs, published on 3 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-21862 exists.\n\nAffected packages and fixed versions:\n- rustfs (crates.io): affected all versions; fixed in 1.0.0-alpha.78\n- rustfs (crates.io): affected all versions; fixed in 1.0.0-alpha.78\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-21862/ (Markdown: https://insights.sbomify.com/CVE-2026-21862/index.md)","id":"CVE-2026-21862","markdown":"https://insights.sbomify.com/CVE-2026-21862/index.md","name":"CVE-2026-21862","record":{"aliases":["GHSA-fc6g-2gcp-2qrq"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"RustFS object storage","requires_auth":"none","summary":"Attackers can bypass IP-based access controls in RustFS by spoofing X-Forwarded-For headers, allowing unauthorized access to resources.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rustfs","vendor":"rustfs"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"RustFS sourceIp bypass via spoofed X-Forwarded-For/Real-IP headers","id":"CVE-2026-21862","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Malformed Valkey Cluster bus message can lead to Remote DoS","id":"CVE-2026-21863"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.0-alpha.78"],"introduced":["0"],"last_affected":[],"package":"rustfs","purl":null,"source":"GHSA-fc6g-2gcp-2qrq"},{"ecosystem":"crates.io","fixed":["1.0.0-alpha.78"],"introduced":["0"],"last_affected":[],"package":"rustfs","purl":"pkg:cargo/rustfs","source":"GHSA-fc6g-2gcp-2qrq"}],"prev":{"headline":"baserCMS: OS Command Injection Leading to Remote Code Execution (RCE)","id":"CVE-2026-21861"},"products":["rustfs"],"published":"2026-02-03","related":[{"cvss_score":9.8,"headline":"RustFS has a gRPC Hardcoded Token Authentication Bypass","id":"CVE-2025-68926","kev_date_added":null,"published":"2025-12-30"},{"cvss_score":9.1,"headline":"Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover","id":"CVE-2026-27822","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.8,"headline":"RustFS Path Traversal Vulnerability","id":"CVE-2025-68705","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":8.3,"headline":"RustFS: Missing admin authorization on notification target endpoints allows unauthenticated configuration of event webhooks","id":"CVE-2026-40937","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":8.1,"headline":"RustFS's Missing Post Policy Validation leads to Arbitrary Object Write","id":"CVE-2026-27607","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":6.9,"headline":"RustFS Logs Sensitive Credentials in Plaintext","id":"CVE-2026-24762","kev_date_added":null,"published":"2026-02-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-03","vendors":["rustfs"]},"summary":"Attackers can bypass IP-based access controls in RustFS by spoofing X-Forwarded-For headers, allowing unauthorized access to resources.","url":"https://insights.sbomify.com/CVE-2026-21862/"}