CVE-2018-14912: cgit_clone_objects in CGit before 1.2.1 has a directory traversal vulnerability when `enable-http-clone=1` is
CVE-2018-14912 is a high-severity flaw (CVSS 7.5) affecting cgit, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 91.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2018-08-03 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: cgit 1.2.1 - Directory Traversal (Metasploit)
- Metasploit: cgit Directory Traversal
- Nuclei scan template: cgit < 1.2.1 - Directory Traversal
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-14912?
cgit: upgrade to 1.2.1; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-14912 being exploited?
CVE-2018-14912 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-14912 affect?
CVE-2018-14912 affects cgit, debian linux. Severity is high (CVSS 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.
How urgent is CVE-2018-14912?
Priority 66/100. High severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · Git vulnerabilities