CVE-2026-2302

NameCVE-2026-2302
DescriptionUnder specific conditions when processing a maliciously crafted value of type Hash r, Mongoid::Criteria.from_hash may allow for executing arbitrary Ruby code.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-mongo (PTS)bookworm, bullseye2.5.1-1.1fixed
trixie2.5.1-2fixed
sid2.23.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-mongosource(unstable)(not affected)

Notes

- ruby-mongo <not-affected> (Vulnerable code not present)
https://jira.mongodb.org/browse/MONGOID-5919

Search for package or bug name: Reporting problems