CVE-2020-14144
mediumpriority · attend · 72EPSS 0.954 · 100 %ileexploit · weaponizedDEEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- exploit/multi/http/gitea_git_hooks_rceGitea Git Hooks Remote Code Executionweaponized · metasploit
affected products (4)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0945Gitea: Schwachstelle ermöglicht CodeausführungDeutsch2024-04-22csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Gitea ausnutzen, um beliebigen Programmcode auszuführen.
- GHSA-3h6c-c475-jm7vArbitrary Code Execution in Gitea2024-04-22ghsa · osvUS
The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.
- BIT-gitea-2020-141442024-03-06vendor · osvUS
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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-scriptcnnvd
- https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-scriptcnnvd
- https://docs.gitlab.com/ee/administration/server_hooks.htmlcnnvd
- https://github.com/PandatiX/CVE-2021-28378cnnvd
- https://github.com/PandatiX/CVE-2021-28378#notescnnvd
- https://github.com/go-gitea/gitea/pull/13058cnnvd
- https://github.com/go-gitea/gitea/releasescnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-14144cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan