CVE Professor
/
All CVEs
CVE-2026-141547

CVE-2026-141547 — Pdm — CWE-15 · CWE-94

HIGH CVSS 7 ⚡ EPSS 0.5% GitHub

## Summary GHSA-qq6c-99pv-prvf was fixed by moving the per-project plugin library out of the project, to `<cache_dir>/plugins/<project name>-<hash>`. `cache_dir` is declared global-only, but that is checked only when a value is written. A `pdm.toml` committed to a repository (the docs recommend committing it) can still set `cache_dir`, and the plugin library path is then computed under a directory the repository controls. A repository can ship that directory with a `.pth` file, and pdm runs it at startup, before parsing arguments. In my test `pdm --version` was enough. The plugin directory name contains a hash of the absolute project path, so the repository has to guess where it will be checked out. In CI and container builds the path is usually fixed (`/app`, `/home/runner/work/<repo>/<repo>`, `/workspaces/<repo>`), and a repository can include directories for several guesses. ## Details Line numbers are for 2.29.7 (main 4d5c6216 has the same three files). - `src/pdm/project/config.py:111-115` declares `cache_dir` with `global_only=True`. The check is in `__setitem__` (`:422`); `__getitem__` (`:369-393`) returns the project file's value, and `Config.__init__` loads the project file without filtering (`:316`). - `src/pdm/project/core.py:252-256`: `Project.config` is `ChainMap(project_config, global_config)`, so the project value wins. - `src/pdm/project/core.py:121-128`: `cache_dir` is read from that config, and `project_plugins_dir` is `cache_dir / "plugins" / f"{root.n

## Summary GHSA-qq6c-99pv-prvf was fixed by moving the per-project plugin library out of the project, to `<cache_dir>/plugins/<project name>-<hash>`. `cache_dir` is declared global-only, but that is checked only when a value is written. A `pdm.toml` committed to a repository (the docs recommend committing it) can still set `cache_dir`, and the plugin library path is then computed under a directory the repository controls. A repository can ship that directory with a `.pth` file, and pdm runs it at startup, before parsing arguments. In my test `pdm --version` was enough. The plugin directory name contains a hash of the absolute project path, so the repository has to guess where it will be checked out. In CI and container builds the path is usually fixed (`/app`, `/home/runner/work/<repo>/<repo>`, `/workspaces/<repo>`), and a repository can include directories for several guesses. ## Details Line numbers are for 2.29.7 (main 4d5c6216 has the same three files). - `src/pdm/project/config.py:111-115` declares `cache_dir` with `global_only=True`. The check is in `__setitem__` (`:422`); `__getitem__` (`:369-393`) returns the project file's value, and `Config.__init__` loads the project file without filtering (`:316`). - `src/pdm/project/core.py:252-256`: `Project.config` is `ChainMap(project_config, global_config)`, so the project value wins. - `src/pdm/project/core.py:121-128`: `cache_dir` is read from that config, and `project_plugins_dir` is `cache_dir / "plugins" / f"{root.n

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local AV:L
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.5%
30-day probability
In the 42. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141547
CVSS 7/10 · HIGH · 02.12.2026
CWE: CWE-15, CWE-94
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary

GHSA-qq6c-99pv-prvf was fixed by moving the per-project plugin library out of the project, to <cache_dir>/plugins/<project name>-<hash>. cache_dir is declared global-only, but that is checked only when a value is written. A pdm.toml committed to a repository (the docs recommend committing it) can still set cache_dir, and the plugin library path is then computed under a direc…
Affected: pdm

⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · user interaction required (UI:R).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for pdm.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
7 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-15 CWE-94
Affected Products (1)
pdm
References & Advisories (4)
Related CVEs
8.5
CVE-2026-144576
PDM through 2.29.8 contains a code execution vulnerability that allows malicious repositories to run scripts b
9.3
CVE-2026-77308
Witness is a pluggable framework for software supply chain risk management. Prior to version 0.11.0, the witne
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.0
CVE-2026-126111
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-
8.5
CVE-2026-144446
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into genera
7.4
CVE-2026-61706
Infracost helps see cloud cost estimates for Terraform in pull requests. From version 4.0.0 to before version
7.3
CVE-2026-144776
A security flaw has been discovered in toss es-toolkit up to 1.53.0. Affected by this vulnerability is the fun