Debian Package Tracker
Register | Log in
Subscribe

pdm

next generation Python package management tool

Choose email to subscribe with

general
  • source: pdm (main)
  • version: 2.28.0-1
  • maintainer: Debian Python Team (DMD)
  • uploaders: Boyuan Yang [DMD]
  • arch: all
  • std-ver: 4.7.3
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 2.2.1+ds1-1
  • stable: 2.20.1+ds1-2
  • testing: 2.28.0-1
  • unstable: 2.28.0-1
versioned links
  • 2.2.1+ds1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.20.1+ds1-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.28.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python3-pdm
action needed
Marked for autoremoval on 03 September due to nbclient, node-playwright, taskflow: #1133642, #1135849, #1138720, #1138816 high
Version 2.28.0-1 of pdm is marked for autoremoval from testing on Thu 03 Sep 2026. It depends (transitively) on nbclient, node-playwright, taskflow, affected by #1133642, #1135849, #1138720, #1138816. You should try to prevent the removal by fixing these RC bugs.
Created: 2026-08-01 Last update: 2026-08-08 17:17
3 security issues in trixie high

There are 3 open security issues in trixie.

3 important issues:
  • 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.
  • CVE-2026-47764: 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.
  • CVE-2026-47781: PDM is a Python package and dependency manager. In versions up to and including 2.26.9, PDM automatically loads project-local plugins from a .pdm-plugins directory during initialization, allowing an attacker-controlled file in an untrusted repository checkout to execute arbitrary Python code before any command is parsed. This happens because load_plugins() runs during Core.init() and adds .pdm-plugins via site.addsitedir(), which processes .pth files and immediately executes any line beginning with import, so the code runs with the privileges of the user invoking pdm and even a benign command such as pdm --version triggers it (making the impact strongest in CI, automation, and privileged contexts). The issue is fixed in version 2.27.0.
Created: 2026-08-04 Last update: 2026-08-08 08:02
4 security issues in bookworm high

There are 4 open security issues in bookworm.

3 important issues:
  • 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.
  • CVE-2026-47764: 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.
  • CVE-2026-47781: PDM is a Python package and dependency manager. In versions up to and including 2.26.9, PDM automatically loads project-local plugins from a .pdm-plugins directory during initialization, allowing an attacker-controlled file in an untrusted repository checkout to execute arbitrary Python code before any command is parsed. This happens because load_plugins() runs during Core.init() and adds .pdm-plugins via site.addsitedir(), which processes .pth files and immediately executes any line beginning with import, so the code runs with the privileges of the user invoking pdm and even a benign command such as pdm --version triggers it (making the impact strongest in CI, automation, and privileged contexts). The issue is fixed in version 2.27.0.
1 issue postponed or untriaged:
  • CVE-2023-45805: (needs triaging) pdm is a Python package and dependency manager supporting the latest PEP standards. It's possible to craft a malicious `pdm.lock` file that could allow e.g. an insider or a malicious open source project to appear to depend on a trusted PyPI project, but actually install another project. A project `foo` can be targeted by creating the project `foo-2` and uploading the file `foo-2-2.tar.gz` to pypi.org. PyPI will see this as project `foo-2` version `2`, while PDM will see this as project `foo` version `2-2`. The version must only be `parseable as a version` and the filename must be a prefix of the project name, but it's not verified to match the version being installed. Version `2-2` is also not a valid normalized version per PEP 440. Matching the project name exactly (not just prefix) would fix the issue. When installing dependencies with PDM, what's actually installed could differ from what's listed in `pyproject.toml` (including arbitrary code execution on install). It could also be used for downgrade attacks by only changing the version. This issue has been addressed in commit `6853e2642df` which is included in release version `2.9.4`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Created: 2026-08-04 Last update: 2026-08-08 08:02
lintian reports 3 warnings normal
Lintian reports 3 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2026-08-03 Last update: 2026-08-03 02:32
debian/patches: 1 patch to forward upstream low

Among the 1 debian patch available in version 2.28.0-1 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2026-08-03 09:00
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.7.3).
Created: 2026-03-31 Last update: 2026-08-02 22:30
news
[rss feed]
  • [2026-08-08] pdm 2.28.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-02] Accepted pdm 2.28.0-1 (source) into unstable (Boyuan Yang)
  • [2026-06-03] pdm 2.27.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-05-28] Accepted pdm 2.27.0-1 (source) into unstable (Colin Watson)
  • [2026-03-09] pdm 2.26.6-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-03] Accepted pdm 2.26.6-1 (source) into unstable (Boyuan Yang)
  • [2026-03-01] pdm 2.26.2-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-24] Accepted pdm 2.26.2-1 (source) into unstable (Boyuan Yang)
  • [2025-12-11] pdm 2.23.1-4 MIGRATED to testing (Debian testing watch)
  • [2025-12-05] Accepted pdm 2.23.1-4 (source) into unstable (Santiago Vila)
  • [2025-12-03] Accepted pdm 2.23.1-3 (source) into unstable (Santiago Vila)
  • [2025-08-18] pdm 2.23.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-08-13] Accepted pdm 2.23.1-2 (source) into unstable (Alexandre Detiste)
  • [2025-08-12] Accepted pdm 2.23.1-1 (source) into unstable (Alexandre Detiste)
  • [2025-03-07] pdm 2.20.1+ds1-2 MIGRATED to testing (Debian testing watch)
  • [2025-03-02] Accepted pdm 2.20.1+ds1-2 (source) into unstable (Boyuan Yang)
  • [2024-11-29] pdm 2.20.1+ds1-1 MIGRATED to testing (Debian testing watch)
  • [2024-11-23] Accepted pdm 2.20.1+ds1-1 (source) into unstable (Boyuan Yang)
  • [2024-11-14] pdm 2.20.0.post1+ds1-2 MIGRATED to testing (Debian testing watch)
  • [2024-11-08] Accepted pdm 2.20.0.post1+ds1-2 (source) into unstable (Boyuan Yang)
  • [2024-11-08] Accepted pdm 2.20.0.post1+ds1-1 (source) into unstable (Boyuan Yang)
  • [2024-05-05] pdm 2.2.1+ds1-2 MIGRATED to testing (Debian testing watch)
  • [2024-03-17] Accepted pdm 2.2.1+ds1-2 (source) into unstable (Pierre-Elliott Bécue)
  • [2023-09-19] pdm REMOVED from testing (Debian testing watch)
  • [2022-12-02] pdm 2.2.1+ds1-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-26] Accepted pdm 2.2.1+ds1-1 (source) into unstable (Boyuan Yang)
  • [2022-09-27] pdm 2.1.4+ds1-1 MIGRATED to testing (Debian testing watch)
  • [2022-09-21] Accepted pdm 2.1.4+ds1-1 (source) into unstable (Boyuan Yang)
  • [2022-07-30] pdm 2.0.3+ds1-1 MIGRATED to testing (Debian testing watch)
  • [2022-07-23] Accepted pdm 2.0.3+ds1-1 (source) into unstable (Boyuan Yang)
  • 1
  • 2
bugs [bug history graph]
  • all: 1
  • RC: 0
  • I&N: 0
  • M&W: 0
  • F&P: 1
  • patch: 0
links
  • homepage
  • lintian (0, 3)
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.28.0-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing