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

CVE-2026-46338 PyMdown Extensions: Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path

설명

PyMdown Extensions is a set of extensions for the Python-Markdown markdown project. From 10.0.1 until 10.21.3, pymdownx.snippets uses a string-prefix containment check in SnippetPreprocessor.get_snippet_path() in pymdownx/snippets.py when `restrict_base_path: True`, allowing markdown snippet directives to read files from sibling paths that share the same base_path prefix, such as docs and docs_internal. This is a regression of CVE-2023-32309. This issue is fixed in version 10.21.3.

영향 받는 제품 제품 1개

  • facelessuser

    pymdown-extensions

    해결 버전 있음

    영향 받는 버전

    • 10.0.1 이상 10.21.3 미만

    해결 버전

    • 10.21.3 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의