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

CVE-2026-40937: RustFS: Missing admin authorization on notification target endpoints allows unauthenticated configuration of event webhooks

April 22, 2026 (updated April 27, 2026)

All four notification target admin API endpoints in rustfs/src/admin/handlers/event.rs use a check_permissions helper that validates authentication only (access key + session token), without performing any admin-action authorization via validate_admin_request. Every other admin handler in the codebase correctly calls validate_admin_request with a specific AdminAction. This is the only admin handler file that skips authorization.

A non-admin user can overwrite a shared admin-defined notification target by name, causing subsequent bucket events to be delivered to an attacker-controlled endpoint. This enables cross-user event interception and audit evasion.

References

  • github.com/advisories/GHSA-pfcq-4gjr-6gjm
  • github.com/rustfs/rustfs
  • github.com/rustfs/rustfs/releases/tag/1.0.0-alpha.94
  • github.com/rustfs/rustfs/security/advisories/GHSA-pfcq-4gjr-6gjm
  • nvd.nist.gov/vuln/detail/CVE-2026-40937

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

cargo/rustfs/CVE-2026-40937.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:18:26 +0000.