Directory Traversal Affecting poetry package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.29% (22nd 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-UBUNTU2604-POETRY-16335609
  • published1 May 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-41140  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:26.04 poetry.

NVD Description

Note: Versions mentioned in the description apply only to the upstream poetry package and not the poetry package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.

CVSS Base Scores

version 3.1