← Vulnerability feed

Vulnerability record · CVE-2018-14912 · published 3 August 2018

CVE-2018-14912: CGit directory traversal in HTTP clone objects endpoint

Cgit Project · Cgit

CGit before 1.2.1 contains a directory traversal flaw in cgit_clone_objects when enable-http-clone is left enabled. A crafted request such as cgit/cgit.cgi/git/objects/?path=../ lets an unauthenticated remote user read files outside the intended repository object path. Because cgit is commonly exposed as a public web front end for Git repositories, the flaw matters for any instance that has not disabled HTTP cloning.

7.5 CVSS 3.0 High EPSS 92% · top 0.2% CWE-22 · Path traversal
7.5CVSS 3.0 base score, v2 5.0
92%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
10References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityUnauthenticated remote file disclosure with public exploit code and very high EPSS, but no KEV listing and no evidence of ransomware use.

What it is

CGit before 1.2.1 contains a directory traversal flaw in cgit_clone_objects when enable-http-clone is left enabled. A crafted request such as cgit/cgit.cgi/git/objects/?path=../ lets an unauthenticated remote user read files outside the intended repository object path. Because cgit is commonly exposed as a public web front end for Git repositories, the flaw matters for any instance that has not disabled HTTP cloning.

Impact

An attacker can read arbitrary files reachable by the cgit process, exposing repository data and any sensitive files readable by that service account. The CVSS vector confirms high confidentiality impact with no integrity or availability effect.

Attack surface

Reached over the network through the cgit HTTP interface, specifically the git/objects/ endpoint when enable-http-clone is not turned off. No authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Public exploit references exist (Project Zero issue and Exploit-DB 45195), and EPSS is very high at 0.9288 (99.8th percentile), though the CVE is not listed in CISA KEV.

What to do

  • Upgrade CGit to 1.2.1 or later, or apply the vendor patch referenced in the cgit mailing list advisory.
  • If immediate upgrade is not possible, disable HTTP cloning by setting enable-http-clone=0 in cgitrc.
  • Apply the Debian security updates (DSA-4263 and the LTS announcement) for affected Debian packages.
  • Restrict network access to cgit instances that do not need to serve HTTP clones publicly.
  • Run cgit under a low-privilege account with no access to sensitive files outside the repository tree.

Detection

  • Search web access logs for requests to git/objects/ containing path=../ or other traversal sequences.
  • Alert on URL-encoded traversal patterns (%2e%2e) or repeated ../ segments in cgit request paths.
  • Monitor for unusual file reads by the cgit process user outside the repository directory.
  • Review cgit configuration to confirm enable-http-clone status across all instances.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-14912 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-14912), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.