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

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2026-04-22T19:24:53.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-pfcq-4gjr-6gjm
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rustfs rustfs: < 1.0.0-alpha.94; 1.0.0
- rustfs (crates.io): up to 0.0.2

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/rustfs/rustfs/security/advisories/GHSA-pfcq-4gjr-6gjm> (mitigation, vendor-advisory, web)
- <https://github.com/rustfs/rustfs/releases/tag/1.0.0-alpha.94> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40937> (advisory)
- <https://github.com/rustfs/rustfs> (package)

## Sources

- CVE List: [CVE-2026-40937](https://www.cve.org/CVERecord?id=CVE-2026-40937), CVE Terms of Use, modified 2026-04-23
- GitHub Advisory Database: [GHSA-pfcq-4gjr-6gjm](https://github.com/advisories/GHSA-pfcq-4gjr-6gjm), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40937](https://nvd.nist.gov/vuln/detail/CVE-2026-40937), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-40937 · Whole record: https://cve.day/CVE-2026-40937.json · Rebuilt by cve.day 2026-11-25T22:59:19.353Z
