USN-8757-1: cgit vulnerability

Publication date

14 September 2026

Overview

cgit could be made to expose sensitive information over the network.

Releases


Packages

  • cgit - hyperfast web frontend for git repositories written in C

Details

It was discovered that cgit incorrectly handled repository paths when HTTP
cloning was enabled. A remote attacker could possibly use this issue to
access files outside the repository and obtain sensitive information.

It was discovered that cgit incorrectly handled repository paths when HTTP
cloning was enabled. A remote attacker could possibly use this issue to
access files outside the repository and obtain sensitive information.

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
16.04 LTS xenial cgit –  0.11.2.git2.3.2-1.1ubuntu0.1~esm1

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 ›