Files
vuln-cve/data/2026/47xxx/CVE-2026-47781.json
T

146 lines
6.2 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-47781",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"state": "PUBLISHED",
"assignerShortName": "GitHub_M",
"dateReserved": "2026-05-19T22:36:16.883Z",
"datePublished": "2026-08-04T18:42:23.036Z",
"dateUpdated": "2026-08-05T13:48:50.422Z"
},
"containers": {
"cna": {
"title": "pdm: Project-Controlled `.pdm-plugins` Content Executes Before CLI Parsing",
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"lang": "en",
"description": "CWE-829: Inclusion of Functionality from Untrusted Control Sphere",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-94",
"lang": "en",
"description": "CWE-94: Improper Control of Generation of Code ('Code Injection')",
"type": "CWE"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "ACTIVE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"baseScore": 8.4,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
}
}
],
"references": [
{
"name": "https://github.com/pdm-project/pdm/security/advisories/GHSA-qq6c-99pv-prvf",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/pdm-project/pdm/security/advisories/GHSA-qq6c-99pv-prvf"
},
{
"name": "https://github.com/pdm-project/pdm/releases/tag/2.27.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/pdm-project/pdm/releases/tag/2.27.0"
}
],
"affected": [
{
"vendor": "pdm-project",
"product": "pdm",
"versions": [
{
"version": "< 2.27.0",
"status": "affected"
}
]
}
],
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-08-04T18:42:23.036Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"source": {
"advisory": "GHSA-qq6c-99pv-prvf",
"discovery": "UNKNOWN"
}
},
"adp": [
{
"references": [
{
"url": "https://github.com/pdm-project/pdm/security/advisories/GHSA-qq6c-99pv-prvf",
"tags": [
"exploit"
]
}
],
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-08-05T13:48:06.311095Z",
"id": "CVE-2026-47781",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-05T13:48:50.422Z"
}
}
]
}
}