CVE-2020-14144
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 95.4%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 7.2 HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 95.43% probability · 100th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- gitea/gitea
- Source
- cve@mitre.org
EPSS 95.4% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script
- https://docs.gitlab.com/ee/administration/server_hooks.htmlThird Party Advisory
- https://github.com/PandatiX/CVE-2021-28378Exploit, Third Party Advisory
- https://github.com/PandatiX/CVE-2021-28378#notesExploit, Third Party Advisory
- https://github.com/go-gitea/gitea/pull/13058Third Party Advisory
- https://github.com/go-gitea/gitea/releasesRelease Notes, Third Party Advisory
- https://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/Third Party Advisory
- http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script
- https://docs.gitlab.com/ee/administration/server_hooks.htmlThird Party Advisory
- https://github.com/PandatiX/CVE-2021-28378Exploit, Third Party Advisory
- https://github.com/PandatiX/CVE-2021-28378#notesExploit, Third Party Advisory
- https://github.com/go-gitea/gitea/pull/13058Third Party Advisory
- https://github.com/go-gitea/gitea/releasesRelease Notes, Third Party Advisory
- https://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/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.