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
Score elevated to 9.0 because EPSS predicts 95% probability of exploitation within the next 30 days (99th percentile of EPSS-scored CVEs). NVD baseline CVSS 7.2 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 95%
- Public exploit code is available (Metasploit, epss top5pct, epss high, public exploit)
A fix is available — apply it.
- CVSS v3
- 7.2
- EG Score
- 9.0CRITICALmedium confidence
- EG Risk
- 83EG Risk 83/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation95% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track* or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 95%
- EPSS %ILE
- 99th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track* or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: weaponized) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
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 | Fix by version range | Dependents |
|---|---|---|---|
| code.gitea.io/gitea | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 1× in last 7d / 8× 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-10-08 16:38 UTCEPSS rescore
- 2026-09-30 20:40 UTCOSV refresh
- 2026-09-30 15:11 UTCEG score recompute
- 2026-09-22 14:43 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-12 02:53 UTCOSV refresh
- 2026-09-11 14:48 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:24 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-24 08:27 UTCOSV refresh
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-08 04:49 UTCOSV refresh
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 15:32 UTCEPSS rescore
Show 34 moreShow fewer
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:49 UTCEG score recompute
- 2026-07-22 21:28 UTCEG score recompute▲ 1.80
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 01:08 UTCOSV refresh
- 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
- 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.
- Metasploitexploit/multi/http/gitea_git_hooks_rce✓ verifiedFirst seen Oct 7, 2020
Gitea Git Hooks Remote Code Execution
Open source ↗ - 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 ↗ - 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 product + same CWE)
Same product
10 shownGo:code.gitea.io/gitea
- CVE-2024-6886EG 10.0EPSS p98CRITICAL
- CVE-2026-60004EG 9.8 KEVEPSS p98CRITICAL
- CVE-2026-56654EG 9.8CRITICAL
- CVE-2026-27780EG 9.8CRITICAL
- CVE-2026-26292EG 9.8CRITICAL
- CVE-2026-58422EG 9.8CRITICAL
- CVE-2026-20896EG 9.8CRITICAL
- CVE-2022-42968EG 9.8CRITICAL
- CVE-2021-45331EG 9.8CRITICAL
- CVE-2021-45330EG 9.8CRITICAL
Same CWE
10 shownCWE-78
- CVE-2020-17406EG 8.8EPSS p92HIGH
- CVE-2020-13778EG 8.8EPSS p91HIGH
- CVE-2020-15271EG 9.3CRITICAL
- CVE-2020-15272EG 8.7HIGH
- CVE-2020-16257EG 9.8CRITICAL
- CVE-2020-14293EG 7.5EPSS p92HIGH
- CVE-2020-12124EG 9.8EPSS p99CRITICAL
- CVE-2020-16846EG 9.8 KEVEPSS p100CRITICAL
- CVE-2020-16148EG 7.2HIGH
- CVE-2020-16147EG 9.8CRITICAL
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.