kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-76844 webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath

설명

webpack-dev-middleware 5.3.4, 6.1.2 through 6.1.3, 7.1.0 before 7.4.6, and 8.0.0 before 8.3.0 contains a path traversal vulnerability in getFilenameFromUrl that bypasses the fix for CVE-2024-29180: a publicPath without a trailing slash is matched by string prefix, and the '..' guard runs before that prefix is stripped. Unauthenticated attackers can request a path such as /assets../secret to read files one directory above the output directory when the middleware serves from the physical filesystem through writeToDisk or a custom outputFileSystem.

영향 받는 제품 제품 1개

  • webpack

    webpack-dev-middleware

    해결 버전 있음

    영향 받는 버전

    • 5.3.4 이상 5.3.4 이하
    • 6.1.2 이상 6.1.3 이하
    • 7.1.0 이상 7.4.6 미만
    • 8.0.0 이상 8.3.0 미만

    해결 버전

    • 7.4.6 이상
    • 7.4.6
    • 8.3.0 이상
    • 8.3.0

참고 자료 14건

‹ 목록

점검 지원 범위 문의

도입 문의