{"id":"CVE-2020-14144","published":"2020-10-16T13:02:25Z","modified":"2024-08-04T12:39:35Z","title":"The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The git hook feature in Gitea versions 1.1.0 through 1.12.5 is flagged as a possible remote code execution issue, though the vendor disputes that it is a vulnerability and says the feature is intentionally available only to a narrow set of accounts. Per the report, an authenticated user could potentially run arbitrary code on the server in customer environments where the risks of the git hook feature were not properly understood, which the vendor says is not a flaw in the product.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:14:35Z"},"cvss":null,"epss":{"score":0.95432,"percentile":0.99868,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":5,"pulses":[{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64eccb5d39a90a3c391e","created":"2026-03-22"},{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64e1d5e06aa6207f78de","created":"2026-03-22"},{"name":"“Broken Seal” DocuSign-themed Delivery with Fileless Process Hollowing (Zeppelin/Bloat-A)","url":"https://otx.alienvault.com/pulse/698e93e1ab02db8c49e8c3ed","created":"2026-02-13"},{"name":"SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)","url":"https://otx.alienvault.com/pulse/67c6bb5aa601e91b1314ff44","created":"2025-03-04"},{"name":"Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files","url":"https://otx.alienvault.com/pulse/664cc3c1938ed0b9abf026a2","created":"2024-05-21"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/go-gitea/gitea/releases","tags":["x_refsource_MISC"]},{"url":"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/","tags":["x_refsource_MISC"]},{"url":"https://github.com/go-gitea/gitea/pull/13058","tags":["x_refsource_MISC"]},{"url":"https://docs.gitlab.com/ee/administration/server_hooks.html","tags":["x_refsource_MISC"]},{"url":"https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/PandatiX/CVE-2021-28378","tags":["x_refsource_MISC"]},{"url":"https://github.com/PandatiX/CVE-2021-28378#notes","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":[">=1.1.0, <1.12.6"],"patched":["1.12.6"],"from":["GHSA-3h6c-c475-jm7v"],"provenance":"source"}],"advisories":[{"id":"GHSA-3h6c-c475-jm7v","url":"https://github.com/advisories/GHSA-3h6c-c475-jm7v","severity":"HIGH","ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":[">=1.1.0, <1.12.6"],"patched":["1.12.6"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1082","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1082","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-03-08","earliestUrl":"https://github.com/p0dalirius/CVE-2020-14144-GiTea-git-hooks-rce","repos":[{"name":"p0dalirius/CVE-2020-14144-GiTea-git-hooks-rce","url":"https://github.com/p0dalirius/CVE-2020-14144-GiTea-git-hooks-rce","stars":32,"created":"2022-03-08"},{"name":"Mohnad-AL-saif/Gitea-Git-Hooks-RCE-CVE-2020-14144-","url":"https://github.com/Mohnad-AL-saif/Gitea-Git-Hooks-RCE-CVE-2020-14144-","stars":0,"created":"2026-02-14"}]},"metasploit":[{"name":"Gitea Git Hooks Remote Code Execution","module":"exploit/multi/http/gitea_git_hooks_rce","type":"exploit","disclosureDate":"2020-10-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_hooks_rce.rb"}],"nuclei":[{"id":"CVE-2020-14144","name":"Gitea 1.1.0 - 1.12.5 - Remote Code Execution","severity":"high","path":"http/cves/2020/CVE-2020-14144.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-14144.yaml"}],"first":{"date":"2020-10-07","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_hooks_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html","https://www.exploit-db.com/exploits/49571"],"flow":[],"timeline":[{"date":"2020-10-07","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-03-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_hooks_rce.rb","provenance":"source"},{"date":"2020-10-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-14144","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":26.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9987"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 advisory exploit reference; 2 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.77,"detail":"5 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2019-11576","published":"2019-04-28","fixed":"1.8.0","kev":false},{"cve":"CVE-2021-45327","published":"2022-02-08","fixed":"1.11.2","kev":false},{"cve":"CVE-2020-13246","published":"2020-05-20","fixed":"1.12.0","kev":false,"link":{"from":"CVE-2020-13246","to":"CVE-2020-14144","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.12.0","toFixed":"1.12.6","daysApart":149}]}},{"cve":"CVE-2020-14144","published":"2020-10-16","fixed":"1.12.6","kev":false},{"cve":"CVE-2021-3382","published":"2021-02-05","fixed":"1.13.2","kev":false,"link":{"from":"CVE-2020-14144","to":"CVE-2021-3382","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.12.6","toFixed":"1.13.2","daysApart":112}]}},{"cve":"CVE-2021-28378","published":"2021-03-15","fixed":"1.13.4","kev":false},{"cve":"CVE-2021-29134","published":"2022-03-15","fixed":"1.13.6","kev":false}],"package":"Go:code.gitea.io/gitea"}}