CVE-2026-126818 (GCVE-0-2026-126818)

Vulnerability from cvelistv5 – Published: 2026-11-13 15:42 – Updated: 2026-11-13 15:42
VLAI
Title
Mongoid 9.1.1 incomplete CVE-2026-93764 fix stores descendant-only encrypted fields in plaintext
Summary
A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application's collections, and no access to the encryption key store, may obtain those values.
CWE
  • CWE-311 - Missing Encryption of Sensitive Data
References
Impacted products
Vendor Product Version
MongoDB Ruby Driver Affected: 9.0.0 (semver)
Affected: 9.0.1 (semver)
Affected: 9.0.2 (semver)
Affected: 9.0.3 (semver)
Affected: 9.0.4 (semver)
Affected: 9.0.5 (semver)
Affected: 9.0.6 (semver)
Affected: 9.0.7 (semver)
Affected: 9.0.8 (semver)
Affected: 9.0.9 (semver)
Affected: 9.0.10 (semver)
Affected: 9.0.11 (semver)
Affected: 9.0.12 (semver)
Affected: 9.1.0 (semver)
Affected: 9.1.1 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Ruby Driver",
          "vendor": "MongoDB",
          "versions": [
            {
              "status": "affected",
              "version": "9.0.0",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.1",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.2",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.3",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.4",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.5",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.6",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.7",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.8",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.9",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.10",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.11",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.0.12",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.1.0",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "9.1.1",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application\u0027s collections, and no access to the encryption key store, may obtain those values."
            }
          ],
          "value": "A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application\u0027s collections, and no access to the encryption key store, may obtain those values."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-311",
              "description": "CWE-311: Missing Encryption of Sensitive Data",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-13T15:42:15.179Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOID-6037"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Mongoid 9.1.1 incomplete CVE-2026-93764 fix stores descendant-only encrypted fields in plaintext",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2026-126818",
    "datePublished": "2026-11-13T15:42:15.179Z",
    "dateReserved": "2026-11-11T20:19:00.200Z",
    "dateUpdated": "2026-11-13T15:42:15.179Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-126818",
      "date": "2026-11-16",
      "epss": "0.00101",
      "percentile": "0.00912"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Ruby Driver",
                "vendor": "MongoDB",
                "versions": [
                  {
                    "status": "affected",
                    "version": "9.0.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.1",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.2",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.3",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.4",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.5",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.6",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.7",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.8",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.9",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.10",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.11",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.0.12",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.1.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "affected",
                    "version": "9.1.1",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "cna@mongodb.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in readable form without any error or warning. A database account holding only read access to the application\u0027s collections, and no access to the encryption key store, may obtain those values."
          }
        ],
        "id": "CVE-2026-126818",
        "lastModified": "2026-11-13T16:18:46.463",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.6,
              "source": "cna@mongodb.com",
              "type": "Secondary"
            }
          ],
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "cna@mongodb.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-13T16:18:46.463",
        "references": [
          {
            "source": "cna@mongodb.com",
            "url": "https://jira.mongodb.org/browse/MONGOID-6037"
          }
        ],
        "sourceIdentifier": "cna@mongodb.com",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-311"
              }
            ],
            "source": "cna@mongodb.com",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…