CVE-2026-115354: Mistune before 3.3.0 Arbitrary Local File Read via Include Directive

Published Oct 22, 2026
·
Updated

Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that allows attackers to read local files by supplying relative or absolute include paths. Attackers who submit Markdown rendered via Markdown.read() can disclose files such as /etc/passwd and inject unescaped HTML or script content into rendered output.

Affected Software

12 affected componentsFixes available
pypi/mistune<3.3.0
debian/mistune*
debian/mistune*
debian/mistune*
debian/mistune<=2.0.4-1, <=3.1.3-1, <=3.1.4-1
3.4.0-1
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*
ubuntu/mistune*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mistune to a version that resolves this vulnerability.

    Fixed in 3.4.0-1

Event History

Oct 22, 2026
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·07:13 PM
Data Sourced
via MITRE·07:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Oct 28, 2026
Data Sourced
via OSV·05:50 PM
Affected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Mistune before 3.3.0 are exposed only when the opt-in Include directive is enabled and attacker-controlled Markdown is rendered through Markdown.read().

2

What does an attacker need to exploit this issue?

An attacker needs to be able to submit Markdown that is processed by Markdown.read(), and must be able to supply a relative or absolute path in an Include directive. No authentication or other privileges are indicated by the provided vector, although user interaction is required.

3

What can an attacker obtain or inject?

The issue can disclose local files accessible to the rendering process, including files such as /etc/passwd. Included content can also introduce unescaped HTML or script content into the rendered output.

4

What can be done if upgrading is not immediately possible?

Disable or avoid the opt-in Include directive for untrusted Markdown, and do not render attacker-controlled Markdown through Markdown.read() where include paths can be supplied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203