External Control of File Name or Path Affecting docutils package, versions [,0.23.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.68% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DOCUTILS-23745895
  • published4 Dec 2026
  • disclosed4 Dec 2026
  • creditUnknown

Introduced: 4 Dec 2026

NewCVE-2026-144965  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade docutils to version 0.23.1 or higher.

Overview

docutils is a modular system for processing documentation into useful formats, such as HTML, XML, and LaTeX

Affected versions of this package are vulnerable to External Control of File Name or Path via the image directive handling in the HTML and ODT writers when file_insertion_enabled is disabled. An attacker can access and embed arbitrary local files into generated documents by supplying specially crafted reStructuredText referencing local file paths.

CVSS Base Scores

version 4.0
version 3.1