Every CVE Search/ Get API key

CVE-2018-14912

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http...

7.5 HighPublic exploitFix available

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

91.9%Up 62.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
CVE-2018-14912
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
CVE-2018-14912
Updated
2026-11-02
EUVDEUVD-2018-6794 No score

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
EUVD-2018-6794
Updated
2026-11-03
GitHub AdvisoriesGHSA-46c3-xc8j-9qg7 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http...

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
GHSA-46c3-xc8j-9qg7
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVALPINE-CVE-2018-14912 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
ALPINE-CVE-2018-14912
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSV 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
CVE-2018-14912
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2018-14912 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
DEBIAN-CVE-2018-14912
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2018-14912 7.5

cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when enable-http-clone=1 is not turned off, as demonstrated by a cgit/cgit.cgi/git/objects/?path=../ request.

Record
UBUNTU-CVE-2018-14912
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVMGASA-2018-0351 No score

Updated cgit packages fix security vulnerability

Jann Horn discovered a directory traversal vulnerability in cgit, a fast web frontend for git repositories written in C. A remote attacker can take advantage of this flaw to retrieve arbitrary files via a specially crafted request, when 'enable-http-clone=1' (default) is not turned off.

Record
MGASA-2018-0351
Updated
2026-11-02
OSVopenSUSE-SU-2024:10679-1 No score

cgit-1.2.3-1.10 on GA media

These are all security issues fixed in the cgit-1.2.3-1.10 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10679-1
Updated
2026-11-02
OSVUSN-8757-1 No score

cgit vulnerability

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.

Record
USN-8757-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
cgit
Alpine:v3.5
before 1.0-r2
1.0-r2
cgit
Alpine:v3.6
before 1.1-r2
1.1-r2
cgit
Alpine:v3.7
before 1.1-r3
1.1-r3
cgit
Alpine:v3.8
before 1.1-r4
1.1-r4
cgit
Debian:12
before 1.1+git2.10.2-3.1
1.1+git2.10.2-3.1
cgit
Debian:13
before 1.1+git2.10.2-3.1
1.1+git2.10.2-3.1
cgit
Debian:14
before 1.1+git2.10.2-3.1
1.1+git2.10.2-3.1
cgit
Debian:8
before 0.10.2.git2.0.1-3+deb8u2, plus listed versions
0.10.2.git2.0.1-30.10.2.git2.0.1-3+deb8u1
0.10.2.git2.0.1-3+deb8u2
cgit
Debian:9
before 1.1+git2.10.2-3+deb9u1, plus listed versions
1.1+git2.10.2-3
1.1+git2.10.2-3+deb9u1
cgit
Mageia:6
before 0.12-3.1.mga6
0.12-3.1.mga6
cgit
Ubuntu:Pro:16.04:LTS
before 0.11.2.git2.3.2-1.1ubuntu0.1~esm1, plus listed versions
0.11.2.git2.3.2-10.11.2.git2.3.2-1.1
0.11.2.git2.3.2-1.1ubuntu0.1~esm1
cgit
Ubuntu:18.04:LTS
before 1.1+git2.10.2-3ubuntu0.1, plus listed versions
1.1+git2.10.2-31.1+git2.10.2-3build1
1.1+git2.10.2-3ubuntu0.1
cgit
openSUSE:Tumbleweed
before 1.2.3-1.10
1.2.3-1.10

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBcgit 1.2.1 - Directory Traversal (Metasploit)2018-08-14
Metasploitcgit Directory Traversal2018-08-03
Nucleicgit < 1.2.1 - Directory Traversal

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, Metasploit, Nuclei, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-14912 is a high vulnerability (CVSS 7.5) in Cgit Project Cgit, published August 3, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 91.9%, the 99th percentile. Fixed in cgit 1.0-r2.

References

Show 10 moreShow less
MoveEnter Open