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)

VendorProductVersion
facelessuser pymdown_extensions 10.0.1 – 10.21.3

Bug Bounty Relevance

59 / 100
✓ Network accessible
✓ No authentication
✓ Low complexity

CVSS Score

4.3 / 10.0 v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

EPSS — Exploitation Probability

0.40%
Raw Score 0.003980
Percentile 33.9%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00398
2026-10-28
0.00398

Intelligence Sources

nvd ref →