Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2023-40590
gitpython project gitpython

Puan7.8 Yüksek
CVSS 3.1
İstismar olasılığı (EPSS)0.39%
önümüzdeki 30 gün içinde
KategoriDiğer
Yayımlanma28 Ağustos 2023
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık cihaza yerel erişimle, oturum açmadan, kullanıcının bir bağlantıya tıklaması ya da dosya açması gibi bir etkileşimle istismar edilebilir.

Başarılı bir saldırıda ciddi etki: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

GitPython is a python library used to interact with Git repositories. When resolving a program, Python/Windows look for the current working directory, and after that the PATH environment. GitPython defaults to use the `git` command, if a user runs GitPython from a repo has a `git.exe` or `git` executable, that program will be run instead of the one in the user's `PATH`. This is more of a problem on how Python interacts with Windows systems, Linux and any other OS aren't affected by this. But probably people using GitPython usually run it from the CWD of a repo. An attacker can trick a user to download a repository with a malicious `git` executable, if the user runs/imports GitPython from that directory, it allows the attacker to run any arbitrary commands. There is no fix currently available for windows users, however there are a few mitigations. 1: Default to an absolute path for the git program on Windows, like `C:\\Program Files\\Git\\cmd\\git.EXE` (default git path installation). 2: Require users to set the `GIT_PYTHON_GIT_EXECUTABLE` environment variable on Windows systems. 3: Make this problem prominent in the documentation and advise users to never run GitPython from an untrusted repo, or set the `GIT_PYTHON_GIT_EXECUTABLE` env var to an absolute path. 4: Resolve the executable manually by only looking into the `PATH` environment variable.

CVSS: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Açık türü: CWE-426

Etkilenen ürünler

ÜreticiÜrünSürümler
gitpython projectgitpython<=3.1.32

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-140025 Orta 4.6
    Improper Resolution of Path Equivalence (CWE-41) in the active content confirmation of PeaZip from 10.5.0 before 11.3.0 on Windows allows a party who supplies an archive to have an entry opened without the warning the…
    Diğer · 30 Kasım 2026
  • CVE-2026-116770 Kritik 9
    The Host Group Updater, a standalone tool available with Secure Access prior to 14.10, has a security vulnerability that discloses protected information. An adversary in a privileged position can use this to impact the…
    Diğer · 30 Kasım 2026
  • CVE-2026-137184 Yüksek 7.8
    PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the…
    Diğer · 30 Kasım 2026
  • CVE-2026-136268 Orta 5.1
    Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Content Spoofing via code block content passed to MDEx.to_slack/2. An attacker who controls Markdown that an…
    Diğer · 30 Kasım 2026
  • CVE-2026-136130 Düşük 2.1
    Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in leandrocp mdex allows Slack mention and broadcast injection via link, image, and wikilink destinations. MDEx.to_slack/2 renders these nodes…
    Diğer · 30 Kasım 2026
  • CVE-2026-136129 Düşük 2.1
    Incorrect Behavior Order: Validate Before Canonicalize vulnerability in leandrocp mdex allows an attacker who controls Markdown input to place javascript: and data: URLs into Quill Delta output via entity-encoded…
    Diğer · 30 Kasım 2026