Skip to main content
VulnerabilityPublished

CVE-2026-135139: Mongoid Contains an Incorrect Authorization Weakness

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-135139· Medium 6.0

Not known to be exploited · CVSS 6.0 Medium : upgrade to 9.1.3 when convenient.

Data as of 25 Nov 2026, 19:06 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mongodb)CVSS 4.06.0
CNA (mongodb)CVSS 3.16.5
Patch
Available – fixed in 9.1.3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade Ruby Driver and mongoid to 9.1.3.

Affected software

ProductAffectedFixed in
MongoDBRuby DriverAffected
  • >=2.1.0 <9.1.3
Fixed in
  • 9.1.3
RubyGemsmongoidpkg:gem/mongoidOther threatsAffected
  • >=2.1.0 <9.1.3
Fixed in
  • 9.1.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, applications should review and restrict bulk removal operations involving referenced associations to prevent misuse of caller-supplied filters.

Description

Mongoid has an authorization weakness in how it handles caller-supplied filters for bulk removal via referenced associations. Conditions attached to the association may override the caller's filter, causing unintended deletion of records not selected by the caller. This affects users with basic privileges in applications using Mongoid, potentially allowing them to remove records belonging to the same parent record unintentionally.

References

Community reviews

Loading reviews…