Skip to content

fix: bump gitpython to 3.1.59 for CVE-2026-67323 and CVE-2026-67325 (rhoai-3.3) - #677

Merged
jonburdo merged 1 commit into
red-hat-data-services:rhoai-3.3from
NeriCarcasci:fix/gitpython-3.1.51-rhoai-3.3
Sep 16, 2026
Merged

jonburdo merged 1 commit into
red-hat-data-services:rhoai-3.3from
NeriCarcasci:fix/gitpython-3.1.51-rhoai-3.3

Conversation

@NeriCarcasci

@NeriCarcasci NeriCarcasci commented Aug 12, 2026 •

Copy link
Copy Markdown

What

Bumps the shipped gitpython dependency from 3.1.50 to 3.1.59 on rhoai-3.3 to remediate two command-injection CVEs.

  • Pins gitpython>=3.1.51 in requirements/konflux.in
  • Regenerates requirements/konflux-requirements.txt (hashed lockfile) via uv pip compile; only gitpython changes (3.1.50 to 3.1.59), gitdb and all other pins are untouched

Why

gitpython 3.1.50 ships in the rhoai/odh-mlflow-rhel9 image and is imported by multiple MLflow modules (projects/utils.py, utils/git_utils.py, tracking/_tracking_service/utils.py, genai/git_versioning/git_info.py). Both CVEs are fixed in gitpython 3.1.51:

  • CVE-2026-67323: arbitrary code execution via command injection due to unguarded Git options
  • CVE-2026-67325: command injection via Git option prefix abbreviation

Copilot AI lite review requested due to automatic review settings August 12, 2026 09:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@NeriCarcasci
NeriCarcasci force-pushed the fix/gitpython-3.1.51-rhoai-3.3 branch from 4e3ffea to 4c9281a Compare August 12, 2026 10:18
@kramaranya

Copy link
Copy Markdown

/build-konflux mlflow

Pin the Konflux dependency to gitpython>=3.1.51 and regenerate the
hashed lockfile so odh-mlflow-rhel9 ships the fix for the command
injection flaws (unguarded git options and long-option prefix
abbreviation bypass).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Neri Carcasci <nericarcasci@gmail.com>
@NeriCarcasci
NeriCarcasci force-pushed the fix/gitpython-3.1.51-rhoai-3.3 branch from eed59b2 to e5e332a Compare September 16, 2026 15:08
@jonburdo
jonburdo merged commit f360b3b into red-hat-data-services:rhoai-3.3 Sep 16, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants