The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer environments where the documentation was not understood (e.g., one viewpoint is that the dangerousness of this feature should be documented immediately above the ENABLE_GIT_HOOKS line in the config file). NOTE: The vendor has indicated this is not a vulnerability and states "This is a functionality of the software that is limited to a very limited subset of accounts. If you give someone the privilege to execute arbitrary code on your server, they can execute arbitrary code on your server. We provide very clear warnings to users around this functionality and what it provides.
CVE-2020-14144
This high-severity CVE scores 7.2 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 94%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.2
- EG Score
- 7.2(low)
- EPSS
- 99.8%
- KEV
- Not listed
Published
October 16, 2020
Last Modified
November 21, 2024
References (16)
- cve@mitrehttp://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html
- cve@mitrehttps://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script
- cve@mitrehttps://docs.gitlab.com/ee/administration/server_hooks.html
- cve@mitrehttps://github.com/PandatiX/CVE-2021-28378
- cve@mitrehttps://github.com/PandatiX/CVE-2021-28378#notes
- cve@mitrehttps://github.com/go-gitea/gitea/pull/13058
- cve@mitrehttps://github.com/go-gitea/gitea/releases
- cve@mitrehttps://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent/
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html
- af854a3a-2127-422b-91ae-364da2661108https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script
- af854a3a-2127-422b-91ae-364da2661108https://docs.gitlab.com/ee/administration/server_hooks.html
- af854a3a-2127-422b-91ae-364da2661108https://github.com/PandatiX/CVE-2021-28378
- af854a3a-2127-422b-91ae-364da2661108https://github.com/PandatiX/CVE-2021-28378#notes
- af854a3a-2127-422b-91ae-364da2661108https://github.com/go-gitea/gitea/pull/13058
- af854a3a-2127-422b-91ae-364da2661108https://github.com/go-gitea/gitea/releases
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| code.gitea.io/gitea | — | 1.12.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 2× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-24 10:20 UTCOSV refresh
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:00 UTCOSV refresh
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
Show 2 moreShow fewer
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-23 06:41 UTCEG score recompute
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCp0dalirius/CVE-2020-14144-GiTea-git-hooks-rceFirst seen Mar 8, 2022
A script to exploit CVE-2020-14144 - GiTea authenticated Remote Code Execution using git hooks
Open source ↗ - Metasploitexploit/multi/http/gitea_git_hooks_rce✓ verifiedFirst seen Oct 7, 2020
Gitea Git Hooks Remote Code Execution
Open source ↗ - Nucleihttp/cves/2020/CVE-2020-14144.yamlFirst seen Jan 1, 2020
Gitea 1.1.0 - 1.12.5 - Remote Code Execution
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2020-14144?
When was CVE-2020-14144 disclosed?
Is CVE-2020-14144 actively exploited?
What is the CVSS score of CVE-2020-14144?
How do I remediate CVE-2020-14144?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-14144
Is Your Infrastructure Affected by CVE-2020-14144?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.