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

Published Updated

A low-privileged user can read, change or remove records that a default scope restriction should withhold in Mongoid-based Ruby apps.

CVSS score

High

8.6/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135141?

CVE-2026-135141 is a high-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.

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

Weakness: CWE-863

How severe is CVE-2026-135141?

CVE-2026-135141 scores 8.6 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None

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

Which versions are affected by CVE-2026-135141?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-135141?

No fix has been published for CVE-2026-135141 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-135141 being exploited?

There is no known exploitation of CVE-2026-135141 in the wild and no public exploit code.

Sources

Also known as GHSA-fpw8-vqgq-r7xv.

Is CVE-2026-135141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free