pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.
{
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2026-07-08T21:00:36Z",
"nvd_published_at": "2026-06-01T17:17:35Z",
"severity": "MODERATE"
}