4.3

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

Analyzed
AliasesGHSA-62q4-447f-wv8hPYSEC-2026-2999UBUNTU-CVE-2026-46338
Published 16-07-2026Last modified 17-07-2026

Vulnerability summary

CVE-2026-46338 is a medium (CVSS 4.3) vulnerability in facelessuser pymdown_extensions. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 16-07-2026
    PublishedVulnerability first disclosed.
  2. 17-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.40% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pymdown Extensions

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Facelessuser2 products
Chainguard1 product
  • open-webui< 0.9.6-r1
Debian1 product
  • pymdown-extensionsAll versions (No fix recorded) | < 11.0.1-1
PyPI1 product
  • pymdown-extensions≥ 10.0.1, < 10.21.3
Ubuntu1 product
  • pymdown-extensionsAll versions (No fix recorded)
Wolfi1 product
  • open-webui< 0.9.6-r1

6 vendors · 7 products

References

12 links
Show all 12 references