{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "61d7d7829716d4728d250aa0f0c712f318cf2aad"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "61d7d7829716d4728d250aa0f0c712f318cf2aad"
            }
          ],
          "repo": "https://github.com/automattic/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rxm2-55pg-68q6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-843"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142608.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "6.3.5"
              },
              {
                "fixed": "6.13.13"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "6.13.13"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.3.5 until 6.13.13, Mongoose treats a plain object with an own _bsontype property as a BSON value, allowing forged ObjectID values to replay an identifier from a preceding database command when that command has a compatible layout and buffer offset, or to store and disclose other command-buffer fragments, while forged BSONRegExp values bypass String-path filtering. Applications that pass request-derived values into ObjectId or String queries and writes can consequently read, modify, or delete documents accessed by another request under the compatible-layout condition, store and disclose fragments such as reset codes or API keys without that identifier-replay condition, or execute unintended regular-expression matches even when sanitizeFilter or common MongoDB sanitizers are enabled. This issue is fixed in version 6.13.13.",
  "id": "CVE-2026-142608",
  "modified": "2026-12-02T23:46:04.795541107Z",
  "published": "2026-12-02T22:09:38.587Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142608.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142608"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from other command"
}