<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T17:38:53.989544+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/brew-adr-viewer-cve-2026-59924</id>
    <title>BREW-adr-viewer-CVE-2026-59924 — Mistune: Arbitrary File Read via Include directive path traversal</title>
    <updated>2026-10-04T17:38:54.219815+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: adr-viewer</p>
<p>### Summary</p>
<p>A path traversal issue exists in mistune's `Include` directive when markdown files are processed using `md.read()`. A crafted include path can cause files outside the intended markdown directory to be accessed.</p>
<p>### Details</p>
<p>The issue occurs in the `Include.parse()` method where user-supplied paths are joined and normalized without verifying that the resulting path remains within an expected directory.</p>
<p>```python
relpath = self.parse_title(m)
dest = os.path.join(os.path.dirname(source_file), relpath)
dest = os.path.normpath(dest)
```</p>
<p>Because the final path is not restricted to a trusted base directory, path traversal sequences such as `../` may reference files outside the intended location.</p>
<p>### Proof of Concept</p>
<p>Create a markdown file:</p>
<p>```markdown
.. include:: ../../../example.txt
```</p>
<p>Process it using:</p>
<p>```python
import mistune
from mistune.directives import RSTDirective, Include</p>
<p>md = mistune.create_markdown(
    plugins=[RSTDirective([Include()])]
)</p>
<p>result, state = md.read("test.md")
print(result)
```</p>
<p>### Impact</p>
<p>Applications that process untrusted markdown files with the `Include` directive enabled may allow unintended file access. The impact depends on how the feature is used and what files are accessible to the running process.</p>
<p>### Recommended Fix</p>
<p>Validate the resolved path and ensure it remains within an allowed directory before opening the file.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-adr-viewer-cve-2026-59924"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-334035</id>
    <title>EUVD-2026-334035</title>
    <updated>2026-10-04T17:38:54.219890+00:00</updated>
    <content>EUVD-2026-334035</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-334035"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-59924</id>
    <title>fkie_cve-2026-59924</title>
    <updated>2026-10-04T17:38:54.219907+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-59924"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-r4rv-85jg-w4mf</id>
    <title>GHSA-r4rv-85jg-w4mf — Mistune: Arbitrary File Read via Include directive path traversal</title>
    <updated>2026-10-04T17:38:54.219932+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mistune</p>
<p>### Summary</p>
<p>A path traversal issue exists in mistune's `Include` directive when markdown files are processed using `md.read()`. A crafted include path can cause files outside the intended markdown directory to be accessed.</p>
<p>### Details</p>
<p>The issue occurs in the `Include.parse()` method where user-supplied paths are joined and normalized without verifying that the resulting path remains within an expected directory.</p>
<p>```python
relpath = self.parse_title(m)
dest = os.path.join(os.path.dirname(source_file), relpath)
dest = os.path.normpath(dest)
```</p>
<p>Because the final path is not restricted to a trusted base directory, path traversal sequences such as `../` may reference files outside the intended location.</p>
<p>### Proof of Concept</p>
<p>Create a markdown file:</p>
<p>```markdown
.. include:: ../../../example.txt
```</p>
<p>Process it using:</p>
<p>```python
import mistune
from mistune.directives import RSTDirective, Include</p>
<p>md = mistune.create_markdown(
    plugins=[RSTDirective([Include()])]
)</p>
<p>result, state = md.read("test.md")
print(result)
```</p>
<p>### Impact</p>
<p>Applications that process untrusted markdown files with the `Include` directive enabled may allow unintended file access. The impact depends on how the feature is used and what files are accessible to the running process.</p>
<p>### Recommended Fix</p>
<p>Validate the resolved path and ensure it remains within an allowed directory before opening the file.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-r4rv-85jg-w4mf"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/opensuse-su-2026:21339-1</id>
    <title>openSUSE-SU-2026:21339-1 — Security update for python-mistune</title>
    <updated>2026-10-04T17:38:54.219971+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Security update for python-mistune</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/opensuse-su-2026:21339-1"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/pysec-2026-2212</id>
    <title>PYSEC-2026-2212</title>
    <updated>2026-10-04T17:38:54.219994+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mistune</p>
<p>Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/pysec-2026-2212"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/suse-su-2026:22655-1</id>
    <title>SUSE-SU-2026:22655-1 — Security update for python-mistune</title>
    <updated>2026-10-04T17:38:54.220014+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Security update for python-mistune</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/suse-su-2026:22655-1"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ubuntu-cve-2026-59924</id>
    <title>UBUNTU-CVE-2026-59924</title>
    <updated>2026-10-04T17:38:54.220034+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Ubuntu:16.04:LTS: mistune, Ubuntu:18.04:LTS: mistune, Ubuntu:20.04:LTS: mistune, Ubuntu:22.04:LTS: mistune, Ubuntu:24.04:LTS: mistune, Ubuntu:25.10: mistune, Ubuntu:26.04:LTS: mistune</p>
<p>Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ubuntu-cve-2026-59924"/>
  </entry>
</feed>
