{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142596",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-02T21:19:22.035Z",
        "datePublished": "2026-12-02T21:50:31.552Z",
        "dateUpdated": "2026-12-03T16:10:46.056Z"
    },
    "containers": {
        "cna": {
            "title": "Mongoose: sanitizeProjection can be bypassed to include fields deselected with `select: false`",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-200",
                            "lang": "en",
                            "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/Automattic/mongoose/security/advisories/GHSA-xfcm-rmv3-crmq",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/Automattic/mongoose/security/advisories/GHSA-xfcm-rmv3-crmq"
                },
                {
                    "name": "https://github.com/Automattic/mongoose/commit/c369da407ee8bea907bb5af7bb94ce5deeb3e0e4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Automattic/mongoose/commit/c369da407ee8bea907bb5af7bb94ce5deeb3e0e4"
                },
                {
                    "name": "https://github.com/Automattic/mongoose/commit/c5483b71438ececde3a272feef65e14666614093",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Automattic/mongoose/commit/c5483b71438ececde3a272feef65e14666614093"
                },
                {
                    "name": "https://github.com/Automattic/mongoose/releases/tag/8.24.10",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Automattic/mongoose/releases/tag/8.24.10"
                },
                {
                    "name": "https://github.com/Automattic/mongoose/releases/tag/9.12.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/Automattic/mongoose/releases/tag/9.12.2"
                }
            ],
            "affected": [
                {
                    "vendor": "Automattic",
                    "product": "mongoose",
                    "versions": [
                        {
                            "version": ">= 8.5.0, < 8.24.10",
                            "status": "affected"
                        },
                        {
                            "version": ">= 9.0.0, < 9.12.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-02T21:50:31.552Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0 until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications that pass attacker-controlled data to select(), find(filter, projection), or the projection option while relying on sanitizeProjection can return fields marked select: false, including password hashes, reset tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can also cause ordinary queries that do not enable sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed in versions 8.24.10 and 9.12.2."
                }
            ],
            "source": {
                "advisory": "GHSA-xfcm-rmv3-crmq",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T15:15:52.933967Z",
                                "id": "CVE-2026-142596",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T16:10:46.056Z"
                }
            }
        ]
    }
}