{"answers":{"affected":"2 open source packages ship an affected version, including rustfs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40937 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40937 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40937 is a high-severity missing authorization vulnerability in rustfs, published on 22 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40937 and fix it if it is affected.\n\nWhat it is: CVE-2026-40937 is a high-severity missing authorization vulnerability in rustfs, published on 22 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40937 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rustfs (crates.io): affected all versions up to 0.0.2; no fix listed\n- rustfs (crates.io): affected all versions up to 0.0.2; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40937/ (Markdown: https://insights.sbomify.com/CVE-2026-40937/index.md)","id":"CVE-2026-40937","markdown":"https://insights.sbomify.com/CVE-2026-40937/index.md","name":"CVE-2026-40937","record":{"aliases":["GHSA-pfcq-4gjr-6gjm"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Distributed object storage","requires_auth":"low_privilege","summary":"Unauthenticated users can configure event webhooks due to missing admin authorization, enabling cross-user event interception and audit evasion.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rustfs","vendor":"rustfs"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"RustFS: Missing admin authorization on notification target endpoints allows unauthenticated configuration of event webhooks","id":"CVE-2026-40937","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Tekton Pipelines: Git Resolver Unsanitized Revision Parameter Enables git Argument Injection Leading to RCE","id":"CVE-2026-40938"},"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.0.2"],"package":"rustfs","purl":null,"source":"GHSA-pfcq-4gjr-6gjm"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.0.2"],"package":"rustfs","purl":"pkg:cargo/rustfs","source":"GHSA-pfcq-4gjr-6gjm"}],"prev":{"headline":"WWBN/AVideo has CAPTCHA Bypass via Attacker-Controlled Length Parameter and Missing Token Invalidation on Failure","id":"CVE-2026-40935"},"products":["rustfs"],"published":"2026-04-22","related":[{"cvss_score":9.8,"headline":"RustFS has a gRPC Hardcoded Token Authentication Bypass","id":"CVE-2025-68926","kev_date_added":null,"published":"2025-12-30"},{"cvss_score":9.1,"headline":"Rust has Critical Stored XSS in Preview Modal, leading to Administrative Account Takeover","id":"CVE-2026-27822","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.8,"headline":"RustFS Path Traversal Vulnerability","id":"CVE-2025-68705","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":8.1,"headline":"RustFS's Missing Post Policy Validation leads to Arbitrary Object Write","id":"CVE-2026-27607","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":7.7,"headline":"RustFS sourceIp bypass via spoofed X-Forwarded-For/Real-IP headers","id":"CVE-2026-21862","kev_date_added":null,"published":"2026-02-03"},{"cvss_score":6.9,"headline":"RustFS Logs Sensitive Credentials in Plaintext","id":"CVE-2026-24762","kev_date_added":null,"published":"2026-02-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-23","vendors":["rustfs"]},"summary":"Unauthenticated users can configure event webhooks due to missing admin authorization, enabling cross-user event interception and audit evasion.","url":"https://insights.sbomify.com/CVE-2026-40937/"}