Security mailing lists by PureSourceCode

CVE-2026-73624

HIGH 7.2CVSS 4.0

GitPython: Arbitrary file overwrite via git diff --output argument injection in Diffable.diff (key- and value-controlled)

GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.

Published
13 Aug 2026
Last modified
24 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-88
Also known as
GHSA-fjr4-x663-mwxcPYSEC-2026-3995
Sources
NVDJSONOSV GHSA-fjr4-x663-mwxcJSONOSV PYSEC-2026-3995JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 7.2 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gitpython_project gitpython
cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*
< 3.1.54 3.1.54
OSV PyPI gitpython < 3.1.54 3.1.54

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.