CVE 목록
Critical9.8유형: 라이브러리

CVE-2026-4800

공개
2026년 4월 1일
수정
2026년 10월 15일
조회
0
상태
Modified
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
9.8Critical

개요

이 취약점이 무엇인지

The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in, so if Object.prototype has been polluted by another vector the polluted keys are copied into the imports object and passed to Function(). The issue is fixed in 4.18.1 for lodash, lodash-es, lodash-amd, and lodash.template. As a workaround, do not pass untrusted input as key names in options.imports; use only developer-controlled, static key names.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
lodashlodash · node.js 용4.0.0≤취약<4.18.04.18.0이상
lodash-amdlodash · node.js 용4.0.0≤취약<4.18.04.18.0이상
lodash-eslodash · node.js 용4.0.0≤취약<4.18.04.18.0이상
lodash.templatelodash · node.js 용4.0.0≤취약<4.18.04.18.0이상

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 8줄도 보기
제품시작끝이 버전 이상으로
lodashlodash4.0.0≤취약<4.18.14.18.1이상
이 버전만영향 없음=4.18.1—
lodash-eslodash4.0.0≤취약<4.18.14.18.1이상
이 버전만영향 없음=4.18.1—
lodash-amdlodash4.0.0≤취약<4.18.14.18.1이상
이 버전만영향 없음=4.18.1—
lodash.templatelodash4.0.0≤취약<4.18.14.18.1이상
이 버전만영향 없음=4.18.1—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.

기타79