CYBER CODE RED

Get real-time updates on Telegram

P4

CVE-2026-67326: gitpython before 3.1.50 (exclusive); +1 more affected products

CVE-2026-67326. CVSS 3.1 base score 7.8 (HIGH, NVD). EPSS 0.00254 (percentile 0.15997), scored 22-Oct-2026.

Affected technology

gitpython · before 3.1.50 (exclusive)
gitpython project

GitPython · 0 to before 3.1.50
gitpython-developers

Description’s affected range: before 3.1.50 fails to validate newline characters in the section parameter of config_writer()

Component: Not specified by the source

Attack conditions (Vendor/CNA, CVSS 4.0): Local · No privileges required · Passive user interaction

What an attacker can do

Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered. Vendor/CNA’s CVSS 4.0 assessment (base score 7.3/10) rates confidentiality, integrity and availability impact as high.

Published

CWE
CWE-20
CCR priority
31.3 /100 (P4)
CVSS 3.1
7.8 /10 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · NVD
EPSS
0.00254 · percentile 0.15997 · 2026-10-22
KEV
no

Provenance

Stable permalink: https://cybercodered.org/item/cve-cve-2026-67326.html