Home / Lars Hjemli / Cgit / CVE-2012-4548
CVE-2012-4548: is it exploited, and which versions of Lars Hjemli Cgit are affected and fixed?
CVE-2012-4548 is a vulnerability in Lars Hjemli Cgit. 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:08 UTC). Affected: cgit through 0.9.0.3, cgit 0.1, cgit 0.2 and 25 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4548?
Argument injection vulnerability in syntax-highlighting.sh in cgit 9.0.3 and earlier allows remote authenticated users with permissions to add files to execute arbitrary commands via the --plug-in argument to the highlight command.
From the CVE record by redhat, last updated August 6, 2024, 20:42 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lars hjemli | cgit | through 0.9.0.3 | application |
| lars hjemli | cgit | 0.1 | application |
| lars hjemli | cgit | 0.2 | application |
| lars hjemli | cgit | 0.3 | application |
| lars hjemli | cgit | 0.4 | application |
| lars hjemli | cgit | 0.5 | application |
| lars hjemli | cgit | 0.6 | application |
| lars hjemli | cgit | 0.6.1 | application |
| lars hjemli | cgit | 0.6.2 | application |
| lars hjemli | cgit | 0.6.3 | application |
| lars hjemli | cgit | 0.7 | application |
| lars hjemli | cgit | 0.7.1 | application |
| lars hjemli | cgit | 0.7.2 | application |
| lars hjemli | cgit | 0.8 | application |
| lars hjemli | cgit | 0.8.1 | application |
| lars hjemli | cgit | 0.8.1.1 | application |
| lars hjemli | cgit | 0.8.2 | application |
| lars hjemli | cgit | 0.8.2.1 | application |
| lars hjemli | cgit | 0.8.2.2 | application |
| lars hjemli | cgit | 0.8.3 | application |
| lars hjemli | cgit | 0.8.3.1 | application |
| lars hjemli | cgit | 0.8.3.2 | application |
| lars hjemli | cgit | 0.8.3.3 | application |
| lars hjemli | cgit | 0.8.3.4 | application |
| lars hjemli | cgit | 0.8.3.5 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:45 UTC.
How severe is CVE-2012-4548?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.0 | CVSS 2.0 | AV:N/AC:M/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-4548 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.75% probability of exploitation activity in the next 30 days, percentile 86.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=870713 x_refsource_MISC
- 51167 third-party-advisory, x_refsource_SECUNIA
- 56315 vdb-entry, x_refsource_BID
- http://git.zx2c4.com/cgit/commit/?id=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd x_refsource_CONFIRM
- openSUSE-SU-2012:1461 vendor-advisory, x_refsource_SUSE
- 50734 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2012:1421 vendor-advisory, x_refsource_SUSE
- [oss-security] 20121027 CVE Request: cgit command injection mailing-list, x_refsource_MLIST
- [oss-security] 20121028 Re: CVE Request: cgit command injection mailing-list, x_refsource_MLIST
- cgit-syntaxhighlighting-command-exec(79665) vdb-entry, x_refsource_XF
- 51222 third-party-advisory, x_refsource_SECUNIA
- openSUSE-SU-2012:1460 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2012:1422 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- November 11, 2012, 11:00 UTC
- CVE record updated
- August 6, 2024, 20:42 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:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cgit?
- Aug 9, 2013CVE-2013-2117 Jason A Donenfeld Cgit: path traversal (reading or writing files outside the intended folder)
- Oct 10, 2012CVE-2012-4465 Lars Hjemli Cgit: memory corruption (buffer overflow)
- Aug 3, 2011CVE-2011-2711 Lars Hjemli Cgit: cross-site scripting (XSS)
- Mar 20, 2011CVE-2011-1027 Lars Hjemli Cgit: off-by-one Error
Questions about CVE-2012-4548
Is CVE-2012-4548 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 2.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Lars Hjemli Cgit are affected by CVE-2012-4548?
cgit through 0.9.0.3, cgit 0.1, cgit 0.2, cgit 0.3, cgit 0.4, cgit 0.5 and 22 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-4548?
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-4548?
Medium (6.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4548?
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.