{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-46338","published":"2026-07-16T19:16:45.733000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Analyzed","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:facelessuser:pymdown_extensions:*:*:*:*:*:*:*:*","part":"a","vendor":"facelessuser","product":"pymdown_extensions","version_start_including":"10.0.1","version_end_excluding":"10.21.3"}],"cpes_truncated":false,"vendors":["facelessuser"],"products":["facelessuser/pymdown_extensions"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-62q4-447f-wv8h","ecosystem":"PyPI","name":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","ranges":[{"introduced":"10.0.1","fixed":"10.21.3"}],"versions":["10.0.1","10.1","10.10","10.10.1","10.10.2","10.11","10.11.1","10.11.2","10.12","10.13","10.14","10.14.1","10.14.2","10.14.3","10.15","10.16","10.16.1","10.17","10.17.1","10.17.2","10.18","10.19","10.19.1","10.2","10.2.1","10.20","10.20.1","10.21","10.21.2","10.3","10.3.1","10.4","10.5","10.6","10.7","10.7.1","10.8","10.8.1","10.9"],"versions_truncated":false},{"advisory":"PYSEC-2026-2999","ecosystem":"PyPI","name":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","ranges":[{"introduced":"10.0.1","fixed":"10.21.3"}],"versions":["10.0.1","10.1","10.10","10.10.1","10.10.2","10.11","10.11.1","10.11.2","10.12","10.13","10.14","10.14.1","10.14.2","10.14.3","10.15","10.16","10.16.1","10.17","10.17.1","10.17.2","10.18","10.19","10.19.1","10.2","10.2.1","10.20","10.20.1","10.21","10.21.2","10.3","10.3.1","10.4","10.5","10.6","10.7","10.7.1","10.8","10.8.1","10.9"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-46338/","html_en":"/en/cve/CVE-2026-46338/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46338","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46338"},"untrusted":{"vendor_name":"Facelessuser","product_name":"Pymdown Extensions","desc_en":"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.","affected":[{"untrusted_vendor":"facelessuser","untrusted_product":"pymdown-extensions","versions":[]}],"references":[{"url":"https://github.com/facelessuser/pymdown-extensions/commit/63b7835776d703d6c339cf2110d9888f676efc0c","tags":["Patch"]},{"url":"https://github.com/facelessuser/pymdown-extensions/releases/tag/10.21.3","tags":["Product","Release Notes"]},{"url":"https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-62q4-447f-wv8h","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}