USN-5376-4: Git regression

Publication date

25 February 2026

Overview

USN-5376-1 introduced a regression in Git


Packages

  • git - fast, scalable, distributed revision control system

Details

USN-5376-1 fixed a vulnerability in Git. It was discovered that the safety
checks introduced in the update were not able to be set using the command
line, contrary to expectations. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

俞晨东 discovered that Git incorrectly handled certain repository paths in
platforms with multiple users support. An attacker could possibly use
this issue to run arbitrary commands.

USN-5376-1 fixed a vulnerability in Git. It was discovered that the safety
checks introduced in the update were not able to be set using the command
line, contrary to expectations. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

俞晨东 discovered that Git incorrectly handled certain repository paths in
platforms with multiple users support. An attacker could possibly use
this issue to run arbitrary commands.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 LTS jammy git –  1:2.34.1-1ubuntu1.16
20.04 LTS focal git –  1:2.25.1-1ubuntu3.14+esm4  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›