{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.39"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.28"
              },
              {
                "introduced": "8.2.0"
              },
              {
                "fixed": "8.2.12"
              },
              {
                "introduced": "8.3.0"
              },
              {
                "fixed": "8.3.7"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "37d84072b5c5b9fd723db5fa133fb202ad2317f1"
            },
            {
              "fixed": "0c0ddf9b45db1492d57cef505c547f3a954a0c80"
            },
            {
              "introduced": "b41cda4fe697dce6fd9b83b3805362ccc02fbeb3"
            },
            {
              "fixed": "dc5344b376fdfab0fe5b2982f125c056ab0abcd8"
            },
            {
              "introduced": "b993867dce63dd366cd93e60f3f425ed716f6497"
            },
            {
              "fixed": "10d50f5046de5c76a9d869823219134b3596905a"
            },
            {
              "introduced": "0f29b043a58fdd251ce0a0b32754b8459613c933"
            },
            {
              "fixed": "527067edda13efcac3d257b3cdb1c510c57b3c6e"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-843"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13066.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "7.0"
          },
          {
            "fixed": "7.0.39"
          },
          {
            "introduced": "8.0"
          },
          {
            "fixed": "8.0.28"
          },
          {
            "introduced": "8.2.0"
          },
          {
            "fixed": "8.2.12"
          },
          {
            "introduced": "8.3.0"
          },
          {
            "fixed": "8.3.7"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Improper handling of DBPointer objects during BSON serialization in MongoDB's server-side JavaScript engine can result in internal process memory contents being included in data returned to the client. This constitutes an unintended information disclosure affecting deployments that use server-side JavaScript.",
  "id": "CVE-2026-13066",
  "modified": "2026-08-07T03:30:33.055325507Z",
  "published": "2026-07-22T19:17:08.248Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/SERVER-127694"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13066.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-13066"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Server-Side JavaScript DBPointer BSON Serialization Memory Disclosure"
}