SB2026051516 - Path traversal in pymdown-extensions



SB2026051516 - Path traversal in pymdown-extensions

Published: May 15, 2026

Security Bulletin ID SB2026051516
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Path traversal (CVE-ID: CVE-2026-46338)

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to path traversal in SnippetPreprocessor.get_snippet_path() in pymdownx.snippets when processing a markdown snippet directive. A remote attacker can supply a crafted snippet path that traverses to a sibling directory sharing the same base-path prefix to disclose sensitive information.

User interaction is required to process attacker-controlled markdown content, such as in a documentation build pipeline.


Remediation

Install update from vendor's website.