CVE-2020-14144Gitea
High 7.2 High EPSS
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 7.2
- EPSS
- 99.1% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- Published
- Oct 16, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gitea.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
≥ 1.1.0 < 1.12.6 |
1.12.6 |
go get code.gitea.io/gitea@v1.12.6 |
Per OSV / GitHub Advisories (GHSA-3h6c-c475-jm7v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | ≥ 1.1.0 ≤ 1.12.5 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- docs.github.com
- docs.gitlab.com Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Third Party Advisory
- github.com Release Notes Third Party Advisory
- www.fzi.de Third Party Advisory