CVE-2020-14144: gitea OS Command Injection
Vulnerability summary
CVE-2020-14144 is a high (CVSS 7.2) OS Command Injection vulnerability in gitea. EPSS estimates a 95.43% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 3 public exploits are recorded.
Timeline
- 16-10-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · GoEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
95.43%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 95.36% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundCve 2021 28378
Maturity: poc
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Gitea Git Hooks Remote Code Execution
exploit/multi/http/gitea_git_hooks_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Code.gitea.io1 product
- gitea≥ 1.1.0, < 1.12.6
Gitea1 product
- gitea≥ 1.1.0, ≤ 1.12.5
2 vendors · 2 products
References
15 links- packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.htmlX Refsource MISCWEBExploitThird Party AdvisoryVDB Entry