CVE-2026-46338EPSS p25.6%
CVE-2026-46338CVE-2026-46338
facelessuser / pymdown_extensions
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.
Scoring
| CVSS | 4.3 () |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| EPSS | 0.40% probability of exploitation · percentile 25.6% · 2026-11-30T12:00:22Z |
| Last modified | 2026-10-24 |