SecurityContext

CVE-2026-93759: Mongoid - NoSQL Injection

  • Cve: CVE-2026-93759
  • Name: Mongoid - NoSQL Injection
  • Description: Mongoid does not neutralize a string-typed query criterion supplied to its query builder, and instead passes it to the database as a server-side JavaScript expression. An unauthenticated party able to influence the value an application supplies as a query argument may cause code of their choosing to be evaluated by the database engine. This may result in unintended disclosure of stored field values, unintended selection of documents for application-initiated writes, and reduced database performance.
  • Impact: Unauthenticated attackers can execute arbitrary code on the database, leading to data disclosure, unauthorized data modification, and performance degradation.
  • Remediation: Update to the latest version of Mongoid that properly sanitizes query criteria.
  • Vulnerability type: nosql_injection
  • Vulnerability impact: remote_code_execution, information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
  • Epss score: 0.00434
  • Epss percentile: 0.38406
  • Assignee: [email protected]
  • Published at: 2026-09-18T18:18:34Z
  • Age in days: 67
  • Modified at: 2026-09-24T16:19:37Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-93759
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-94Improper Control of Generation of Code

Hackerone

  • Reports: 4
  • Rank: 1052

References

UrlSourceTags
https://jira.mongodb.org/browse/MONGOID-5993nvdPermissions Required

Products

ProductAffectedPlatform boundSourcesUrl
mongodb:mongoid= 9.1.0; >= 9.0.0, < 9.0.12; >= 8.1.0, < 8.1.13; >= 8.0.0, < 8.0.13nonvd/v1/products/mongodb/mongoid

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 4
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts