CVE-2018-14912Cgit Path Traversal
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.
Published Aug 3, 2018 · Updated Oct 23, 2026 · Also known as ALPINE-CVE-2018-14912, DEBIAN-CVE-2018-14912, DLA-1459-1, DSA-4263-1, MGASA-2018-0351, UBUNTU-CVE-2018-14912, USN-8757-1, openSUSE-SU-2024:10679-1
Key Facts
Patch immediately- CVE-2018-14912 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Cgit (Cgit Project), Debian Linux.
- It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Oct 14, 2023. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 92% probability of exploitation in the next 30 days.
- Fixed versions are available, including Cgit 0.10.2.git2.0.1-3+deb8u2, Cgit 0.11.2.git2.3.2-1.1ubuntu0.1~esm1, Cgit 0.12-3.1.mga6.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
92%
Higher than 99.8% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
76/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Oct 14, 2023
1898 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
12
Reports of active use
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2018-14912
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2018-14912
- advisoryhttps://ubuntu.com/security/CVE-2018-14912
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2018-14912
- advisoryhttps://advisories.mageia.org/MGASA-2018-0351.html
- advisoryhttps://bugs.mageia.org/show_bug.cgi?id=23398
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Oct 14, 2023 | n/a | Not reported |
| Industry KEV feed | Oct 14, 2023 | n/a | Not reported |
Affected Products
30 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| CgitCgit Project | See advisory | 1.2.1 |
| Debian LinuxDebian | 8.0, 9.0 | n/a |
Patched Releases
Cgit
0.10.2.git2.0.1-3+deb8u2, 0.11.2.git2.3.2-1.1ubuntu0.1~esm1, 0.12-3.1.mga6, 1.0-r2, 1.1-r2, 1.1-r3, 1.1-r4, 1.1+git2.10.2-3.1, 1.1+git2.10.2-3+deb9u1, 1.1+git2.10.2-3ubuntu0.1, 1.2.1-1, 1.2.1-13.3.1, 1.2.1-lp150.2.3.1, 1.2.3-1.10, 1.2.1
Timeline
Publicly disclosed
Aug 3, 2018
Added to CIRCL KEV
Oct 14, 2023
Added to Industry KEV feed
Oct 14, 2023
Last updated
Oct 23, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- advisorysecurity.alpinelinux.org · CVE-2018-14912
- advisorysecurity-tracker.debian.org · CVE-2018-14912
- advisoryubuntu.com · CVE-2018-14912
- advisorycve.org · CVERecord
- advisoryadvisories.mageia.org · MGASA-2018-0351.html
FAQ
Common Questions.
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.
Affected: Cgit (Cgit Project); Debian Linux versions 8.0, 9.0. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Oct 14, 2023.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Cgit 0.10.2.git2.0.1-3+deb8u2, Cgit 0.11.2.git2.3.2-1.1ubuntu0.1~esm1, Cgit 0.12-3.1.mga6.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2018-14912 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo