---
cve: "CVE-2026-46338"
severity: "MEDIUM"
cvss: 4.3
epss: "0.3%"
vendor: "facelessuser"
kev: false
exploited: false
published: "2026-07-16 19:16:45"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T23:11:54+02:00"
---

# CVE-2026-46338

> 4.3 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Gering | warn |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 42628414c6591b1a1ce211157090783e3b2242d6 (Commit)
- 63b7835776d703d6c339cf2110d9888f676efc0c (Commit)

## Referenzen

- <https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-62q4-447f-wv8h>
- <https://github.com/facelessuser/pymdown-extensions/commit/63b7835776d703d6c339cf2110d9888f676efc0c>
- <https://github.com/facelessuser/pymdown-extensions/releases/tag/10.21.3>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-46338) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
