CVE-2026-47763
Full vulnerability record from the local CVENow database.
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. 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.
View original CVE JSON
{
"id": "CVE-2026-47763",
"sourceIdentifier": "[email protected]",
"published": "2026-08-04T18:16:52.107",
"lastModified": "2026-10-24T16:10:00.153",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "pdm es un gestor de paquetes y dependencias de Python que soporta los últimos estándares PEP. En versiones anteriores a la 2.27.0, pdm escribe varios archivos de estado o configuración locales del proyecto sin protección contra enlaces simbólicos. Si un repositorio malicioso coloca esos archivos como enlaces simbólicos, las operaciones locales de PDM pueden sobrescribir los destinos de los enlaces simbólicos. Esto crea una primitiva de sobrescritura de archivos arbitraria relativa a los privilegios del usuario invocador. Config.__init__() resuelve la ruta local del proyecto pdm.toml y _save_config() escribe en el destino resuelto. Si PROJECT_ROOT/pdm.toml es un enlace simbólico a otro archivo, pdm config -l ... actualiza el archivo de destino en lugar de rechazar la escritura.\nEl mismo problema general existe para otras rutas de persistencia locales del proyecto que se escriben directamente sin protección lstat / O_NOFOLLOW. Para la PoC de pdm.toml específicamente, el archivo de destino ya debe contener TOML analizable. De lo contrario, el paso de carga falla antes de que se alcance la ruta de escritura. Esa restricción del analizador no se aplica a los sumideros .pdm-python o .python-version. Este problema ha sido solucionado en la versión 2.27.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "pdm-project",
"product": "pdm",
"versions": [
{
"version": "< 2.27.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV40": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "4.0",
"vectorString": "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",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "ACTIVE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"vulnAvailabilityImpact": "LOW",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "NOT_DEFINED",
"confidentialityRequirement": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"availabilityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"valueDensity": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED"
}
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-05T15:00:17.473346Z",
"id": "CVE-2026-47763",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-61"
}
]
}
],
"references": [
{
"url": "https://github.com/pdm-project/pdm/releases/tag/2.27.0",
"source": "[email protected]"
},
{
"url": "https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm",
"source": "[email protected]"
},
{
"url": "https://github.com/pdm-project/pdm/security/advisories/GHSA-ghq2-5c67-fprm",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}