UBUNTU-CVE-2026-47764

Source
https://ubuntu.com/security/CVE-2026-47764
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47764.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-47764
Upstream
Published
2026-08-04T19:16:00Z
Modified
2026-08-06T03:09:39.834498058Z
Severity
  • 8.4 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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 writetofs. InstallDestination.writetofs() in src/pdm/installers/installers.py overrides the base class to add symlink/hardlink support but replaces the safe pathwithdestdir() (which validates via Path.resolve() + isrelative_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.

References

Affected packages

Ubuntu:26.04:LTS / pdm

Package

Name
pdm
Purl
pkg:deb/ubuntu/pdm?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.20.1+ds1-2
2.23.1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pdm",
            "binary_version": "2.23.1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-47764.json"