CVE-2026-46338
MEDIUM
MEDIUM
Priority: 0.02
BB Relevance:
59/100
Published: 2026-07-16
Modified: 2026-10-24
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
Required
S:
Unchanged
C:
Low
I:
None
A:
None
Description
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.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| facelessuser | pymdown_extensions | 10.0.1 – 10.21.3 |
References & Advisories (3)
Product
Release Notes
Patch
Exploit
Mitigation
Vendor Advisory