Security Resilience

CVE-2026-22042

Access Control in Rustfs 1.0.0

Public PoCAccess Control
Published
08 January 2026
Modified
15 January 2026
Patch / advisory
CVSS Score v4 5.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0055 39th percentile
Risk Priority 34 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-22042 is a medium-severity Improper Authorization (CWE-285) vulnerability in Rustfs. Its CVSS base score is 5.7 (Medium).

Operationally, ranked at the 39th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-22042 affects RustFS, a distributed object storage system built in Rust, specifically versions prior to 1.0.0-alpha.79. The vulnerability resides in the `ImportIam` admin API, which incorrectly validates permissions using `ExportIAMAction` instead of `ImportIAMAction`. This misconfiguration (related to CWE-285: Improper Authorization and CWE-863: Incorrect Authorization) enables principals with only export IAM permissions to execute import operations. Importing IAM data involves privileged write actions, such as creating or updating users, groups, policies, and service accounts, resulting in unauthorized IAM modifications and potential privilege escalation. The issue carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high severity.

An attacker with low-privilege access, specifically a principal possessing export-only IAM permissions, can exploit this over the network with low complexity and no user interaction required. By calling the `ImportIam` API, the attacker bypasses intended authorization checks and performs import operations, achieving high-impact confidentiality, integrity, and availability effects through IAM takeover. This leads to full privilege escalation, allowing the creation or modification of high-privilege entities within the RustFS environment.

The GitHub Security Advisory (GHSA-vcwh-pff9-64cc) confirms that upgrading to RustFS version 1.0.0-alpha.79 resolves the issue by correcting the permission validation in the `ImportIam` API. Security practitioners should prioritize patching affected deployments and review IAM configurations for overly permissive export roles.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

RustFS is a distributed object storage system built in Rust. Prior to version 1.0.0-alpha.79, he `ImportIam` admin API validates permissions using `ExportIAMAction` instead of `ImportIAMAction`, allowing a principal with export-only IAM permissions to perform import operations. Since importing IAM data…

more

performs privileged write actions (creating/updating users, groups, policies, and service accounts), this can lead to unauthorized IAM modification and privilege escalation. Version 1.0.0-alpha.79 fixes the issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-27607Same product: Rustfs Rustfs
CVE-2026-15318Shared CWE-285, CWE-863
CVE-2024-1803Shared CWE-285, CWE-863
CVE-2023-42541Shared CWE-285, CWE-863
CVE-2026-20960Shared CWE-285, CWE-863
CVE-2024-51479Shared CWE-285, CWE-863
CVE-2024-21987Shared CWE-285, CWE-863
CVE-2024-7624Shared CWE-285, CWE-863
CVE-2024-2557Shared CWE-285, CWE-863
CVE-2023-27594Shared CWE-285, CWE-863

Affected Assets

rustfs
rustfs
1.0.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates that access-control decisions are made and applied to each request before access occurs.

Requires a tamperproof, always-invoked reference monitor that performs authorization checks.

Directly requires enforcement of approved authorizations for every access request, stopping improper or missing checks.

Limits granted privileges so that even a bypassed check affects fewer resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms — configuration controls, per-identity permissions, dynamic access management with authentication requirements — block most exploitation of missing or incorrect authorization checks at the system and configuration layer even when the application code itself has CWE-285; the remainder is application-level authorization flaws whose specific code paths are not fully covered by the system-level access controls A.8.3 mandates.

finds

Independent reviewers evaluate whether authorization logic matches policy, thereby reducing the window in which incorrect or missing authorization checks remain in production.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-285, a class-level weakness. Rules are authored against its narrower children: CWE-552.
  • No fine-grained STIG row for CWE-863, a class-level weakness, and none of its children carries one either.

References