# CVE-2026-135141: Incorrect authorization from a discarded default scope in Mongoid

- Severity: High 8.6 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- 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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-25T17:44:16.867Z
- Modified: 2026-11-25T20:18:37.173Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## Description

A logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.

(As written by CVE List.)

## Affected

- MongoDB Ruby Driver: from 4.0.0 before 9.1.3

## Every score

- mongodb: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://jira.mongodb.org/browse/MONGOID-6025>

## Sources

- CVE List: [CVE-2026-135141](https://www.cve.org/CVERecord?id=CVE-2026-135141), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135141](https://nvd.nist.gov/vuln/detail/CVE-2026-135141), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135141 · Whole record: https://cve.day/CVE-2026-135141.json · Rebuilt by cve.day 2026-11-25T23:18:16.581Z
