Home / Gitolite / Gitolite / CVE-2012-4506
CVE-2012-4506: is it exploited, and which versions of Gitolite are affected and fixed?
CVE-2012-4506 is a path traversal (reading or writing files outside the intended folder) vulnerability in Gitolite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: gitolite 3.0, gitolite 3.02, gitolite 3.03 and 2 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4506?
Directory traversal vulnerability in gitolite 3.x before 3.1, when wild card repositories and a pattern matching "../" are enabled, allows remote authenticated users to create arbitrary repositories and possibly perform other actions via a .. (dot dot) in a repository name.
From the CVE record by redhat, last updated August 6, 2024, 20:35 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gitolite | gitolite | 3.0 | application |
| gitolite | gitolite | 3.02 | application |
| gitolite | gitolite | 3.03 | application |
| gitolite | gitolite | 3.04 | application |
| sitaram chamarty | gitolite | 3.01 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:45 UTC.
How severe is CVE-2012-4506?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 2.0 | AV:N/AC:H/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-4506 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.07% probability of exploitation activity in the next 30 days, percentile 82.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://groups.google.com/forum/#%21topic/gitolite/K9SnQNhCQ-0/discussion x_refsource_CONFIRM
- 55853 vdb-entry, x_refsource_BID
- https://github.com/sitaramc/gitolite/commit/f636ce3ba3e340569b26d1e47b9d9b62dd8a3bf2 x_refsource_CONFIRM
- [oss-security] 20121009 CVE Request: gitolite path traversal vulnerability mailing-list, x_refsource_MLIST
- 50896 third-party-advisory, x_refsource_SECUNIA
- [oss-security] 20121009 Re: CVE Request: gitolite path traversal vulnerability mailing-list, x_refsource_MLIST
- gitolite-security-bypass(79130) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- October 22, 2012, 23:00 UTC
- CVE record updated
- August 6, 2024, 20:35 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:45 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gitolite?
- Nov 7, 2019CVE-2010-2447 Gitolite: improper input validation
- Jan 10, 2019CVE-2018-20683 Gitolite: improper input validation
- Sep 21, 2018CVE-2013-7203 Gitolite: information disclosure
- Sep 21, 2018CVE-2013-4451 Gitolite: n/a
- Sep 12, 2018CVE-2018-16976 Gitolite: race condition
- Oct 4, 2011CVE-2011-1572 Gitolite: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2012-4506
Is CVE-2012-4506 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.07% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gitolite are affected by CVE-2012-4506?
gitolite 3.0, gitolite 3.02, gitolite 3.03, gitolite 3.04 and gitolite 3.01, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-4506?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-4506?
Medium (4.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4506?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.