Skip to main content
CVE-2026-2302VulnerabilityPublished Updated

Ruby mongo: Under specific conditions when processing a maliciously crafted value of type Hash r

Affects ruby-mongoSource GCVE Database

0
Compare
Authoritative record:CVE-2026-2302· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=stonkingOther threatsAffected
  • 2.23.0-1 – 2.25.0-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=resoluteOther threatsAffected
  • =2.5.1-2
  • =2.23.0-1
Fixed in–
Ubuntu 25.10ruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=questingOther threatsAffected
  • =2.5.1-1.2ubuntu1
  • =2.5.1-2
Fixed in–
Ubuntu 24.04 LTSruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=nobleOther threatsAffected
  • =2.5.1-1ubuntu1
Fixed in–
Ubuntu 22.04 LTSruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=jammyOther threatsAffected
  • =2.5.1-1ubuntu1
Fixed in–
Ubuntu 20.04 LTSruby-mongopkg:deb/ubuntu/ruby-mongo?arch=source&distro=focalOther threatsAffected
  • =2.5.1-1
Fixed in–

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

Description

Under specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.

References

Community reviews

Loading reviews…