Skip to content

Commit 6a462fb

Browse files
benhillisBen HillisCopilot
authored
Bump GitPython to 3.1.50 to address CVE-2026-42215 bypass (#40504)
Fixes Dependabot alerts #22 and #23. GitPython <= 3.1.49 has a newline injection vulnerability in config_writer() section parameter that bypasses the CVE-2026-42215 patch and enables RCE via core.hooksPath. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 04553ca commit 6a462fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

distributions/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
python-magic==0.4.27
22
click==8.1.3
3-
GitPython==3.1.49
3+
GitPython==3.1.50
44
PyGithub==2.5.0
55
json-cfg==0.4.2

tools/devops/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
azure-devops==7.1.0b4
22
click==8.1.3
3-
gitpython==3.1.49
3+
gitpython==3.1.50
44
backoff==2.2.1

0 commit comments

Comments
 (0)