{"id":"CVE-2026-22042","state":"PUBLISHED","title":"RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation","description":"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 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.","publishedAt":"2026-01-08T14:58:10.785Z","updatedAt":"2026-01-08T15:54:51.896Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"CVSS: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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rustfs rustfs"],"affected":[{"vendor":"rustfs","product":"rustfs","versions":[{"version":"< 1.0.0-alpha.79","status":"affected"}]}],"references":["https://github.com/rustfs/rustfs/security/advisories/GHSA-vcwh-pff9-64cc"],"weaknesses":["CWE-285","CWE-863"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22042","state":"PUBLISHED","datePublished":"2026-01-08T14:58:10.785Z","dateUpdated":"2026-01-08T15:54:51.896Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-05T22:30:38.720Z"},"containers":{"cna":{"title":"RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation","descriptions":[{"lang":"en","value":"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 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."}],"affected":[{"vendor":"rustfs","product":"rustfs","versions":[{"version":"< 1.0.0-alpha.79","status":"affected"}]}],"references":[{"url":"https://github.com/rustfs/rustfs/security/advisories/GHSA-vcwh-pff9-64cc","name":"https://github.com/rustfs/rustfs/security/advisories/GHSA-vcwh-pff9-64cc","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM","vectorString":"CVSS: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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","lang":"en","description":"CWE-285: Improper Authorization","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-08T14:58:10.785Z"},"source":{"advisory":"GHSA-vcwh-pff9-64cc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/rustfs/rustfs/security/advisories/GHSA-vcwh-pff9-64cc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-08T15:50:46.369710Z","id":"CVE-2026-22042","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-08T15:54:51.896Z"}}]}}}