Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-78v8-vpjp-cjqh

Опубликовано: 10 июн. 2026
Источник: github
Github: Прошло ревью
CVSS4: 7.1

Описание

PDM wheel installation leads to Path Traversal via overridden write_to_fs

InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. Same class as Poetry CVE-2026-34591. Fix ready at: https://github.com/pdm-project/pdm/pull/3787.

Пакеты

Наименование

pdm

pip
Затронутые версииВерсия исправления

<= 2.22.4

2.27.0

EPSS

Процентиль: 5%
0.00148
Низкий

7.1 High

CVSS4

Дефекты

CWE-22

Связанные уязвимости

ubuntu
6 дней назад

pdm is a Python package and dependency manager supporting the latest PEP standards. Versions prior to 2.27.0 are vulnerable to path traversal through write_to_fs. InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. This issue has been fixed in version 2.27.0.

nvd
6 дней назад

pdm is a Python package and dependency manager supporting the latest PEP standards. Versions prior to 2.27.0 are vulnerable to path traversal through write_to_fs. InstallDestination.write_to_fs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe _path_with_destdir() (which validates via Path.resolve() + is_relative_to()) with a bare os.path.join() that performs no path validation. A malicious wheel with traversal entries can write arbitrary files. This issue has been fixed in version 2.27.0.

debian
6 дней назад

pdm is a Python package and dependency manager supporting the latest P ...

suse-cvrf
около 2 месяцев назад

Security update for python-pdm

EPSS

Процентиль: 5%
0.00148
Низкий

7.1 High

CVSS4

Дефекты

CWE-22