본문 바로가기
kcve.ai취약점 정보 · 내 서버 확인

CVE 게시판 / CVE-2026-40887

CVE-2026-40887

@vendure/core has a SQL Injection vulnerability

공개 2026.04.22 수정 2026.04.22 CNA GitHub_M 상태 공개

CVSS
9.1 / 10 Critical · CVSS 3.1 · 점수 출처 CNA
벡터
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
악용 확률(EPSS)
1.76% · 상위 21% · 기준일 2026.11.19
CISA KEV
등재 안 됨
취약 유형(CWE)
CWE-89
영향 제품
vendurehq vendure

설명

Vendure is an open-source headless commerce platform. Starting in version 1.7.4 and prior to versions 2.3.4, 3.5.7, and 3.6.2, an unauthenticated SQL injection vulnerability exists in the Vendure Shop API. A user-controlled query string parameter is interpolated directly into a raw SQL expression without parameterization or validation, allowing an attacker to execute arbitrary SQL against the database. This affects all supported database backends (PostgreSQL, MySQL/MariaDB, SQLite). The Admin API is also affected, though exploitation there requires authentication. Versions 2.3.4, 3.5.7, and 3.6.2 contain a patch. For those who are unable to upgrade immediately, Vendure has made a hotfix available that uses `RequestContextService.getLanguageCode` to validate the `languageCode` input at the boundary. This blocks injection payloads before they can reach any query. The hotfix replaces the existing `getLanguageCode` method in `packages/core/src/service/helpers/request-context/request-context.service.ts`. Invalid values are silently dropped and the channel's default language is used instead. The patched versions additionally convert the vulnerable SQL interpolation to a parameterized query as defense in depth.

영향 받는 제품제품 1개

제품별 영향 버전과 해결 버전
제품영향 버전해결 버전근거
vendurehq vendure 3.0.0 이상 3.5.7 미만3.6.0 이상 3.6.2 미만1.7.4 이상 2.3.4 미만 3.5.7 이상3.6.2 이상2.3.4 이상
‹ 목록 운영 중인 서버의 점검 지원 범위가 궁금하면 도입 문의