Skip to content
Heist/ feed
Back to feed
MediumFix available

pdm — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-47763

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. The 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.

Products
pdm
Affected versions
2.2.1+ds1-1, 2.2.1+ds1-2, 2.20.0.post1+ds1-1, 2.20.0.post1+ds1-2, 2.20.1+ds1-1, 2.20.1+ds1-2, 2.23.1-1, 2.23.1-2, 2.23.1-3, 2.23.1-4, 2.26.2-1, 2.26.6-1, 2.27.0-1, 2.28.0-1, 2.28.1-1, 2.29.0-1, 2.29.2-1, 2.29.3-1
Fixed versions
2.27.0-1
CVEs
CVE-2026-47763
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:54 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-47763

core-osv · Original source

Published 4 Aug 2026, 18:16 UTC

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. The 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.

osv:DEBIAN-CVE-2026-47763

pdm

Fixed versions: Not specified

pdm

Fixed versions: Not specified

pdm

Fixed versions: 2.27.0-1

Complete source record
{
  "id": "eb85e8b1397e50136dcf6c092504cdd9a109e0237aaaa00045789a1a3f6637d1",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-47763",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-47763",
    "summary": "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. The 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.",
    "evidence": "osv:DEBIAN-CVE-2026-47763",
    "products": [
      {
        "name": {
          "value": "pdm",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2.1+ds1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.2.1+ds1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.20.0.post1+ds1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.20.0.post1+ds1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.20.1+ds1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.20.1+ds1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.23.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.23.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.23.1-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.23.1-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.26.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.26.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.27.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.28.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.28.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.29.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.29.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.29.3-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pdm",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.20.1+ds1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.23.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.23.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.23.1-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.23.1-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.26.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.26.6-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.27.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.28.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.28.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.29.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.29.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.29.3-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pdm",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.27.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.20.1+ds1-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.23.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.23.1-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.23.1-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.23.1-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.26.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.26.6-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-47763",
      "aliases": [
        "DEBIAN-CVE-2026-47763"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pdm",
            "purl": "pkg:deb/debian/pdm?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "2.2.1+ds1-1",
            "2.2.1+ds1-2",
            "2.20.0.post1+ds1-1",
            "2.20.0.post1+ds1-2",
            "2.20.1+ds1-1",
            "2.20.1+ds1-2",
            "2.23.1-1",
            "2.23.1-2",
            "2.23.1-3",
            "2.23.1-4",
            "2.26.2-1",
            "2.26.6-1",
            "2.27.0-1",
            "2.28.0-1",
            "2.28.1-1",
            "2.29.0-1",
            "2.29.2-1",
            "2.29.3-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47763.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pdm",
            "purl": "pkg:deb/debian/pdm?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.20.1+ds1-2",
            "2.23.1-1",
            "2.23.1-2",
            "2.23.1-3",
            "2.23.1-4",
            "2.26.2-1",
            "2.26.6-1",
            "2.27.0-1",
            "2.28.0-1",
            "2.28.1-1",
            "2.29.0-1",
            "2.29.2-1",
            "2.29.3-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47763.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.27.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pdm",
            "purl": "pkg:deb/debian/pdm?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.20.1+ds1-2",
            "2.23.1-1",
            "2.23.1-2",
            "2.23.1-3",
            "2.23.1-4",
            "2.26.2-1",
            "2.26.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-47763.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:28.092709703Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-47763"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-47763"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-47763",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445235,
  "published_at": "2026-08-04T18:16:52.107+00:00"
}