{
  "id": "CVE-2026-47764",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47764",
  "published_at": "2026-08-04T17:57:15.756Z",
  "title": "pdm: Path traversal in wheel installation via overridden write_to_fs",
  "vendor": "pdm-project",
  "product": "pdm",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pdm-project",
        "product": "pdm",
        "ranges": [
          "\u003c 2.27.0"
        ],
        "fixed_in": [
          "2.27.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pdm to 2.27.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pdm-project/pdm/security/advisories/GHSA-78v8-vpjp-cjqh"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/pdm-project/pdm/releases/tag/2.27.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
