StackPatch is liveSee product

Back to CVE digest
CVE-2026-42215 · cross-distro fix matrix

CVE-2026-42215: Santos Gallegos discovered that GitPython did not properly validate

Affects 8 Linux releases across 20 (distro × package) combinations. First disclosed: 2026-05-07.

CVSS v3:HIGH · 8.8(NVD-published)

Fix per ecosystem

Each block below is a distro release where CVE-2026-42215 has a known fix. Run the listed command on that distro to remediate.

Ubuntu bionic

Source: Ubuntu USN

  • python-git→ fixed in2.1.8-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in2.1.8-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in2.1.8-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Ubuntu focal

Source: Ubuntu USN

  • python-git→ fixed in3.0.7-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in3.0.7-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in3.0.7-1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Ubuntu jammy

Source: Ubuntu USN

  • python-git→ fixed in3.1.24-1ubuntu0.1~esm3USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in3.1.24-1ubuntu0.1~esm3USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in3.1.24-1ubuntu0.1~esm3USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Ubuntu noble

Source: Ubuntu USN

  • python-git→ fixed in3.1.37-3ubuntu0.1~esm2USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in3.1.37-3ubuntu0.1~esm2USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in3.1.37-3ubuntu0.1~esm2USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Ubuntu resolute

Source: Ubuntu USN

  • python-git→ fixed in3.1.46-1ubuntu0.1~esm1USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in3.1.46-1ubuntu0.1~esm1USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in3.1.46-1ubuntu0.1~esm1USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Ubuntu trusty

Source: Ubuntu USN

  • python-git→ fixed in0.3.2~RC1-3ubuntu0.1~esm3USN-8303-1
    sudo apt-get install --only-upgrade -y python-git

Ubuntu xenial

Source: Ubuntu USN

  • python-git→ fixed in1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git
  • python-git-doc→ fixed in1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python-git-doc
  • python3-git→ fixed in1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4USN-8303-1
    sudo apt-get install --only-upgrade -y python3-git

Alpine edge

Source: Alpine secdb

  • py3-gitpython→ fixed in3.1.49-r0
    apk update && apk add --upgrade py3-gitpython
Are YOU affected by CVE-2026-42215?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-42215dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)