Cloudanix VulnDB

CVE-2026-22042

Medium · 6.5

RustFS 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