2026-05-12 23:59CVE-2026-8053mongodb
PUBLISHED5.2CWE-787

FlatBSON Duplicate Field Index Drift

An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write privileges to trigger an out-of-bounds memory write in the mongod process. The issue results from an inconsistency in the internal field-name-to-index mapping within the time-series bucket catalog. Under certain conditions this can result in arbitrary code execution.

This issue impacts MongoDB Server v5.0 versions prior to 5.0.33, v6.0 versions prior to 6.0.28, v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

Problem type

Affected products

MongoDB, Inc.

MongoDB Server

< 5.0.33 - AFFECTED

< 6.0.28 - AFFECTED

< 7.0.34 - AFFECTED

< 8.0.23 - AFFECTED

< 8.2.9 - AFFECTED

< 8.3.2 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-8053
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-8053",
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "dateUpdated": "2026-05-13T00:20:27.699Z",
    "dateReserved": "2026-05-06T18:44:33.815Z",
    "datePublished": "2026-05-12T23:59:43.448Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb",
        "dateUpdated": "2026-05-13T00:20:27.699Z"
      },
      "title": "FlatBSON Duplicate Field Index Drift",
      "descriptions": [
        {
          "lang": "en",
          "value": "An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write privileges to trigger an out-of-bounds memory write in the mongod process. The issue results from an inconsistency in the internal field-name-to-index mapping within the time-series bucket catalog. Under certain conditions this can result in arbitrary code execution.\n\nThis issue impacts MongoDB Server v5.0 versions prior to 5.0.33, v6.0 versions prior to 6.0.28, v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write privileges to trigger an out-of-bounds memory write in the mongod process. The issue results from an inconsistency in the internal field-name-to-index mapping within the time-series bucket catalog. Under certain conditions this can result in arbitrary code execution.<br><br>This issue impacts MongoDB Server v5.0 versions prior to 5.0.33, v6.0 versions prior to 6.0.28, v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.<br><br><br><br>"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "MongoDB, Inc.",
          "product": "MongoDB Server",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5.0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "5.0.33"
            },
            {
              "version": "6.0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "6.0.28"
            },
            {
              "version": "7.0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "7.0.34"
            },
            {
              "version": "8.0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "8.0.23"
            },
            {
              "version": "8.2",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "8.2.9"
            },
            {
              "version": "8.3",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "8.3.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-787: Out-of-bounds Write",
              "cweId": "CWE-787",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/SERVER-126021",
          "tags": [
            "issue-tracking"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH"
          }
        }
      ]
    }
  }
}