← Back to search

CVE-2026-47764

— UNSCOREDpublic exploit available

Published 2026-08-04 · Updated 2026-08-05

AI analysis for this CVE has not been generated yet. Raw NVD data is shown below.

NVD description

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.

Weaknesses

CWE-22

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.