USN-5376-5: Git regression

Publication date

27 February 2026

Overview

USN-5376-4 introduced a regression in Git


Packages

  • git - fast, scalable, distributed revision control system

Details

USN-5376-4 fixed a regression in Git. The update introduced a regression
when specifying configuration includes due to additional restrictions. 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-4 fixed a regression in Git. The update introduced a regression
when specifying configuration includes due to additional restrictions. 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.17
20.04 LTS focal git –  1:2.25.1-1ubuntu3.14+esm5  

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 ›