CVE-2026-22042
Medium · 6.5RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation
CVSS
6.5
EPSS
0.4%
Published
Jan 8, 2026
CISA due date
—
The record
The `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 performs privileged **write** actions (creating/updating users, groups, policies, and service accounts), this can lead to **unauthorized IAM modification and privilege escalation**. ---
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | rustfs | 0 | 1.0.0-alpha.79 |
Related vulnerabilities
- GHSA-vcwh-pff9-64cc RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation Same vulnerability
- GHSA-mm2q-qcmx-gw4w RustFS: ListServiceAccount authorizes against wrong admin action, enabling cross-user… Also affects rustfs
- CVE-2026-40937 RustFS is a distributed object storage system built in Rust. Also affects rustfs
- GHSA-pfcq-4gjr-6gjm RustFS: Missing admin authorization on notification target endpoints allows… Also affects rustfs
- GHSA-mx42-j6wv-px98 RustFS has an authorization bypass in multipart UploadPartCopy enables cross-bucket… Also affects rustfs
- CVE-2026-39360 RustFS is a distributed object storage system built in Rust. Also affects rustfs
- GHSA-v9fg-3cr2-277j Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover Also affects rustfs
- GHSA-w5fh-f8xh-5x3p RustFS: Missing Post Policy Validation leads to Arbitrary Object Write Also affects rustfs