<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 21:11:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-46338 — PyMdown Extensions: Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_…</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-46338</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; facelessuser pymdown-extensions&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; facelessuser pymdown-extensions&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-46338</guid>
    </item>
    <item>
      <title>GHSA-62q4-447f-wv8h — Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-62q4-447f-wv8h</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pymdown-extensions&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;`pymdownx.snippets` has a regression of the CVE-2023-32309 / GHSA-jh85-wwv9-24hv fix. With `restrict_base_path: True` (the default), the current `filename.startswith(base)` containment check does not enforce a directory boundary. As a result, a markdown snippet directive can read files from sibling paths that share the same prefix as `base_path`, such as `docs` vs `docs_internal`.&lt;/p&gt;
&lt;p&gt;The regression was introduced in PR #2039 / commit `7c13bda5b7793b172efd1abb6712e156a83fe07d`, which replaced the original directory-identity check with a plain string-prefix comparison.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;The regression was introduced in commit `7c13bda5b7793b172efd1abb6712e156a83fe07d` (2023-05-15, #2039 *&amp;#34;Fix regression of snippets nested deeply under specified base path&amp;#34;*), which relaxed the original `os.path.samefile(base, os.path.dirname(filename))` check to a plain `startswith(base)`.&lt;/p&gt;
&lt;p&gt;`SnippetPreprocessor.get_snippet_path()` in `pymdownx/snippets.py`:&lt;/p&gt;
&lt;p&gt;```python
if self.restrict_base_path:
    filename = os.path.abspath(os.path.join(base, path))
    # If the absolute path is no longer under the specified base path, reject the file
    if not filename.startswith(base):
        continue
```&lt;/p&gt;
&lt;p&gt;`base` is `os.path.abspath(b)` and has no trailing separator. `str.startswith(base)` is `True` for any `filename` whose string representation begins with the same characters as `base`, regardless of whether those characters end at a directory boundary.&lt;/p&gt;
&lt;p&gt;Concrete example:&lt;/p&gt;
&lt;p&gt;* `base = &amp;#34;/x/docs&amp;#34;`
* `path…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pymdown-extensions&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;`pymdownx.snippets` has a regression of the CVE-2023-32309 / GHSA-jh85-wwv9-24hv fix. With `restrict_base_path: True` (the default), the current `filename.startswith(base)` containment check does not enforce a directory boundary. As a result, a markdown snippet directive can read files from sibling paths that share the same prefix as `base_path`, such as `docs` vs `docs_internal`.&lt;/p&gt;
&lt;p&gt;The regression was introduced in PR #2039 / commit `7c13bda5b7793b172efd1abb6712e156a83fe07d`, which replaced the original directory-identity check with a plain string-prefix comparison.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;The regression was introduced in commit `7c13bda5b7793b172efd1abb6712e156a83fe07d` (2023-05-15, #2039 *&amp;#34;Fix regression of snippets nested deeply under specified base path&amp;#34;*), which relaxed the original `os.path.samefile(base, os.path.dirname(filename))` check to a plain `startswith(base)`.&lt;/p&gt;
&lt;p&gt;`SnippetPreprocessor.get_snippet_path()` in `pymdownx/snippets.py`:&lt;/p&gt;
&lt;p&gt;```python
if self.restrict_base_path:
    filename = os.path.abspath(os.path.join(base, path))
    # If the absolute path is no longer under the specified base path, reject the file
    if not filename.startswith(base):
        continue
```&lt;/p&gt;
&lt;p&gt;`base` is `os.path.abspath(b)` and has no trailing separator. `str.startswith(base)` is `True` for any `filename` whose string representation begins with the same characters as `base`, regardless of whether those characters end at a directory boundary.&lt;/p&gt;
&lt;p&gt;Concrete example:&lt;/p&gt;
&lt;p&gt;* `base = &amp;#34;/x/docs&amp;#34;`
* `path…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-62q4-447f-wv8h</guid>
    </item>
    <item>
      <title>PYSEC-2026-2999 — Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-2999</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pymdown-extensions&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;`pymdownx.snippets` has a regression of the CVE-2023-32309 / GHSA-jh85-wwv9-24hv fix. With `restrict_base_path: True` (the default), the current `filename.startswith(base)` containment check does not enforce a directory boundary. As a result, a markdown snippet directive can read files from sibling paths that share the same prefix as `base_path`, such as `docs` vs `docs_internal`.&lt;/p&gt;
&lt;p&gt;The regression was introduced in PR #2039 / commit `7c13bda5b7793b172efd1abb6712e156a83fe07d`, which replaced the original directory-identity check with a plain string-prefix comparison.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;The regression was introduced in commit `7c13bda5b7793b172efd1abb6712e156a83fe07d` (2023-05-15, #2039 *&amp;#34;Fix regression of snippets nested deeply under specified base path&amp;#34;*), which relaxed the original `os.path.samefile(base, os.path.dirname(filename))` check to a plain `startswith(base)`.&lt;/p&gt;
&lt;p&gt;`SnippetPreprocessor.get_snippet_path()` in `pymdownx/snippets.py`:&lt;/p&gt;
&lt;p&gt;```python
if self.restrict_base_path:
    filename = os.path.abspath(os.path.join(base, path))
    # If the absolute path is no longer under the specified base path, reject the file
    if not filename.startswith(base):
        continue
```&lt;/p&gt;
&lt;p&gt;`base` is `os.path.abspath(b)` and has no trailing separator. `str.startswith(base)` is `True` for any `filename` whose string representation begins with the same characters as `base`, regardless of whether those characters end at a directory boundary.&lt;/p&gt;
&lt;p&gt;Concrete example:&lt;/p&gt;
&lt;p&gt;* `base = &amp;#34;/x/docs&amp;#34;`
* `path…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pymdown-extensions&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;`pymdownx.snippets` has a regression of the CVE-2023-32309 / GHSA-jh85-wwv9-24hv fix. With `restrict_base_path: True` (the default), the current `filename.startswith(base)` containment check does not enforce a directory boundary. As a result, a markdown snippet directive can read files from sibling paths that share the same prefix as `base_path`, such as `docs` vs `docs_internal`.&lt;/p&gt;
&lt;p&gt;The regression was introduced in PR #2039 / commit `7c13bda5b7793b172efd1abb6712e156a83fe07d`, which replaced the original directory-identity check with a plain string-prefix comparison.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;The regression was introduced in commit `7c13bda5b7793b172efd1abb6712e156a83fe07d` (2023-05-15, #2039 *&amp;#34;Fix regression of snippets nested deeply under specified base path&amp;#34;*), which relaxed the original `os.path.samefile(base, os.path.dirname(filename))` check to a plain `startswith(base)`.&lt;/p&gt;
&lt;p&gt;`SnippetPreprocessor.get_snippet_path()` in `pymdownx/snippets.py`:&lt;/p&gt;
&lt;p&gt;```python
if self.restrict_base_path:
    filename = os.path.abspath(os.path.join(base, path))
    # If the absolute path is no longer under the specified base path, reject the file
    if not filename.startswith(base):
        continue
```&lt;/p&gt;
&lt;p&gt;`base` is `os.path.abspath(b)` and has no trailing separator. `str.startswith(base)` is `True` for any `filename` whose string representation begins with the same characters as `base`, regardless of whether those characters end at a directory boundary.&lt;/p&gt;
&lt;p&gt;Concrete example:&lt;/p&gt;
&lt;p&gt;* `base = &amp;#34;/x/docs&amp;#34;`
* `path…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-2999</guid>
    </item>
  </channel>
</rss>
