{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135139 exists.","exposure":"An affected version is only exploitable if your software calls delete_all. Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-135139 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-135139 is a medium-severity missing authorization vulnerability in MongoDB Ruby Driver, published on 25 Nov 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-135139 and fix it if it is affected.\n\nWhat it is: CVE-2026-135139 is a medium-severity missing authorization vulnerability in MongoDB Ruby Driver, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135139 exists.\nExposure: An affected version is only exploitable if your software calls delete_all. Many projects that include it are not exposed.\n\nAffected product: MongoDB Ruby Driver. No package-level version data is available, so check the vendor advisory linked from the reference page.\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.\n   If an affected version is present, also search the code for calls to delete_all and report whether any exist.\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-135139/ (Markdown: https://insights.sbomify.com/CVE-2026-135139/index.md)","id":"CVE-2026-135139","markdown":"https://insights.sbomify.com/CVE-2026-135139/index.md","name":"CVE-2026-135139","record":{"aliases":["GHSA-9p32-jgc3-hmrv"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby MongoDB ODM","requires_auth":"low_privilege","requires_specific_call":true,"summary":"Low-privileged users can remove records they did not select via filter precedence in Mongoid bulk removal; Ruby apps using Mongoid should care.","user_interaction":"not_required","vuln_class":"missing_authorization","vulnerable_functions":["delete_all"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"mongodb","component":null,"cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Mongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association. Conditions already attached to the association can take precedence over the filter the caller supplied, so records the caller did not select may be removed. A user with basic privileges in an application built on the library may cause unintended removal of records belonging to the same parent record.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Incorrect authorization in has_many delete_all in Mongoid","id":"CVE-2026-135139","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":1,"n_vendor_status":0,"next":{"headline":"Cleartext storage of encrypted foreign key fields in Mongoid","id":"CVE-2026-135140"},"nickname":null,"packages":[],"prev":{"headline":"Improper restriction of read-only attributes with dotted keys in Mongoid","id":"CVE-2026-135138"},"products":["Ruby Driver"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["MongoDB"]},"summary":"Low-privileged users can remove records they did not select via filter precedence in Mongoid bulk removal; Ruby apps using Mongoid should care.","url":"https://insights.sbomify.com/CVE-2026-135139/"}