Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rustfs
  4. ›
  5. CVE-2026-22042

CVE-2026-22042: RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation

January 8, 2026

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.


References

  • github.com/advisories/GHSA-vcwh-pff9-64cc
  • github.com/rustfs/rustfs
  • github.com/rustfs/rustfs/security/advisories/GHSA-vcwh-pff9-64cc
  • nvd.nist.gov/vuln/detail/CVE-2026-22042

Code Behaviors & Features

Detect and mitigate CVE-2026-22042 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.0-alpha.79

Fixed versions

  • 1.0.0-alpha.79

Solution

Upgrade to version 1.0.0-alpha.79 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

cargo/rustfs/CVE-2026-22042.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:03 +0000.