{"affected":[{"product":"mongoose","source":"CNA: GitHub_M","vendor":"Automattic","versions":[{"status":"affected","version":">= 6.3.5, < 6.13.13"}]}],"cveId":"CVE-2026-142608","cwes":["CWE-843"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":0,"severity":"none","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","version":"3.1"},{"score":0,"severity":"none","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","version":"3.1"}],"modifiedAt":1796253520640,"publishedAt":1796249378587,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6"}],"remediation":[],"revision":"1fd57b4365ecb6c208b54d214c9d4ce94deeda19447a215bf1daf14c7edaef9c","sources":[{"modifiedAt":1796249378587,"name":"CNA: GitHub_M","retrievedAt":1796252982637,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142608"},{"modifiedAt":1796253520640,"name":"NVD","retrievedAt":1796257328362,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142608"}],"ssvc":null,"status":"published","title":"Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from other command","updatedAt":1796257328362}