Security mailing lists by PureSourceCode

CVE-2023-40267

CRITICAL 9.8CVSS 3.1

GitPython vulnerable to remote code execution due to insufficient sanitization of input arguments

GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.

Published
11 Aug 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-pr76-5cm5-w9cjPYSEC-2023-137
Sources
NVDJSONOSV GHSA-pr76-5cm5-w9cjJSONOSV PYSEC-2023-137JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

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

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 11 Aug 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Aug 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Aug 2023)
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.