Skip to content

Upgrade gitpython - #70264

Open
dwoz wants to merge 1 commit into
saltstack:3006.xfrom
dwoz:dwoz/security/gitpython-lowerbound-cve-2026-78676-3006.x
Open

Upgrade gitpython#70264
dwoz wants to merge 1 commit into
saltstack:3006.xfrom
dwoz:dwoz/security/gitpython-lowerbound-cve-2026-78676-3006.x

Conversation

@dwoz

@dwoz dwoz commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

CVE-2026-78676

The base pin requirements/base.txt and every lock file under requirements/static/ci/py3.*/ were already updated to >=3.1.59 / ==3.1.59 in bf939d3 for CVE-2026-78676 (GitPython RCE via malformed config re-serialization corrupting a dormant multi-line quoted value into core.hooksPath).

Two CI-static lower-bound files were missed by that bump:

  • requirements/static/ci/common.txt
  • requirements/static/ci/darwin.txt

Both still said gitpython>=3.1.50, which permits vulnerable 3.1.50-3.1.58. The lock files are authoritative for installs, so this was not a live exposure, but any fresh resolve (regenerating a lock, or an out-of-lock install that consumes these constraint files directly) could select a vulnerable version.

Align them to >=3.1.59 so the lower bound matches base.

@dwoz
dwoz requested a review from a team as a code owner September 10, 2026 21:46
@dwoz dwoz added the test:full Run the full test suite label Sep 10, 2026
…VE-2026-78676

The base pin ``requirements/base.txt`` and every lock file under
``requirements/static/ci/py3.*/`` were already updated to
``>=3.1.59`` / ``==3.1.59`` in bf939d3 for CVE-2026-78676
(GitPython RCE via malformed config re-serialization corrupting a
dormant multi-line quoted value into ``core.hooksPath``).

Two CI-static lower-bound files were missed by that bump:

- ``requirements/static/ci/common.txt``
- ``requirements/static/ci/darwin.txt``

Both still said ``gitpython>=3.1.50``, which permits vulnerable
3.1.50-3.1.58. The lock files are authoritative for installs, so
this was not a live exposure, but any fresh resolve (regenerating a
lock, or an out-of-lock install that consumes these constraint
files directly) could select a vulnerable version.

Align them to ``>=3.1.59`` so the lower bound matches base.
@dwoz
dwoz force-pushed the dwoz/security/gitpython-lowerbound-cve-2026-78676-3006.x branch from 4b12de0 to bdbaa43 Compare September 10, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant