{"cve":"CVE-2026-47763","nvd":{"published":"2026-08-04T18:16:52.107","modified":"2026-10-24T16:10:00.153","status":"Deferred","description":"pdm is a Python package and dependency manager supporting the latest PEP standards. In versions prior to 2.27.0, pdm writes several project-local state or configuration files without symlink protection. If a malicious repository places those files as symlinks, local PDM operations can overwrite the symlink targets. This creates an arbitrary file clobber primitive relative to the privileges of the invoking user. Config.__init__() resolves the project-local pdm.toml path and _save_config() writes to the resolved target. If PROJECT_ROOT/pdm.toml is a symlink to another file, pdm config -l ... updates the target file instead of refusing the write.\nThe same general problem exists for other project-local persistence paths that are written directly with no lstat / O_NOFOLLOW protection. For the pdm.toml PoC specifically, the target file must already contain parseable TOML. Otherwise the load step fails before the write path is reached. That parser constraint does not apply to the .pdm-python or .python-version sinks. This issue has been fixed in version 2.27.0.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":6.8},"cvss_v3":null,"cwes":["CWE-61"],"references":["https://github.com/pdm-project/pdm/releases/tag/2.27.0","https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm","https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-47763","score":0.00197,"percentile":0.09301,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-ghq2-5c67-fprm","url":"https://osv.dev/vulnerability/GHSA-ghq2-5c67-fprm","summary":"PDM: Project-Local State and Config Writes Follow Symlinks","modified":"2026-07-13T16:42:31.635713372Z","packages":[{"ecosystem":"PyPI","name":"pdm","purl":"pkg:pypi/pdm","ranges":["<2.27.0"],"fixed":["2.27.0"]}]},{"id":"PYSEC-2026-2862","url":"https://osv.dev/vulnerability/PYSEC-2026-2862","summary":"PDM: Project-Local State and Config Writes Follow Symlinks","modified":"2026-07-13T16:32:55.793163978Z","packages":[{"ecosystem":"PyPI","name":"pdm","purl":"pkg:pypi/pdm","ranges":["<2.27.0"],"fixed":["2.27.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}