Intel

AIKIDO-2026-826619

rich-rst is vulnerable to Path Traversal

GHSA-qx2q-xxw7-587fPublished Oct 5, 2026
October 5, 2026

75

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

The .. raw:: and .. csv-table:: directives' :file: and :url: options, along with the docutils include directive, read the referenced file or fetch the referenced URL with no restriction and include the contents in the output. Rendering reStructuredText from an untrusted source discloses any file the rendering process can read or triggers outbound requests to URLs supplied in that markup. The fix disables these directives by default and confines re-enabled access to the source document's directory.

How do I fix this?

Upgrade the rich-rst library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you render reStructuredText markup from an untrusted source.

Package

Versions

0.0.1 - 2.1.0

Fixed in 2.2.0

Background info

rich-rst is vulnerable to Path Traversal in versions 0.0.1 - 2.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea