← 취약점·업데이트

높음취약점 권고JavaScript / Node.js

Mongoose: sanitizeProjection can be bypassed to include fields deselected with `select: false`

영향

패키지영향받는 버전수정 버전
npm:mongoose>= 8.5.0, < 8.24.108.24.10
npm:mongoose>= 9.0.0, < 9.12.29.12.2

Since Mongoose 8.5.0, the sanitizeProjection option prevents untrusted projections from including fields that the schema deselects with select: false, like password hashes and reset tokens. Several projection forms got around that check, so a user-controlled projection could still return select: false fields even with sanitizeProjection enabled. Mongoose versions before 8.5.0 do not make sanitizeProjection block including select: false keys - hiding select: false keys was a new feature introduc…

GitHub Advisory Database에서 읽기

2026. 12. 04. 오전 09:02, GitHub Advisory Database에서 "Mongoose: sanitizeProjection can be bypassed to include fields deselected with `select: false`"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "높음"(high)입니다. 관련 기술: JavaScript / Node.js. CVE: CVE-2026-142596.