GHSA-7j4m-2589-jfg9: 
Python Analyse et atténuation de la vulnérabilité

Impact

graphlm --upgrade (since 0.4.0) and the first-run setup wizard graphlm --setup (since 0.5.0) spawn the package installer without setting a working directory, so the installer inherits the caller's current directory. graphlm is normally run from inside the repository it maps, so that directory is often untrusted (for example, a freshly cloned third-party repository). Several installers read files from their working directory:

  • pip branch (python -m pip install --upgrade graphlm): -m puts the current directory first on sys.path, so a pip.py or pip/ package in the repository is imported and executed instead of pip.
  • pipx branch (pipx upgrade / pipx install --force): pipx runs python -m pip internally in the same directory, so the same applies.
  • uv pip branch (uv pip install --python <exe> ...): uv reads uv.toml / pyproject.toml from the current directory or any parent, so a repository can redirect the install to an index it controls.
  • uv tool branch: not affected (uv ignores project-level configuration for tool commands). A user who runs graphlm --upgrade or graphlm --setup (including the automatic first-run wizard) while inside a malicious repository can therefore execute attacker-controlled code with their own privileges, or install a package from an attacker-chosen index.

Patches

Fixed in the next release (version 0.7.1). Every installer call now runs with its working directory set to the user's home directory (falling back to the filesystem root), and the pip branches pass python -P so the working directory is never added to sys.path.

Workarounds

Run graphlm --upgrade / graphlm --setup only from a directory you trust, such as your home directory. Do not run them from inside a repository you have not reviewed.


Source: NVD

Connexe Python Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-7j4m-2589-jfg9HIGH7.8
  • Python logoPython
  • graphlm
NonOuiNov 17, 2026
GHSA-5fv7-wh8q-cmfjHIGH7.6
  • Python logoPython
  • modoboa
NonOuiNov 17, 2026
GHSA-8cgq-x343-p74cMEDIUM6.5
  • Python logoPython
  • mail-parser
NonOuiNov 16, 2026
GHSA-24mq-4vc6-2prfMEDIUM6.5
  • Python logoPython
  • mail-parser
NonOuiNov 16, 2026
GHSA-xhrq-2mqv-q8wxMEDIUM5.3
  • Python logoPython
  • mail-parser
NonOuiNov 16, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités