Live threats

All CVEs / Gitea

CVE-2020-14144Gitea

High 7.2 High EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
giteagitea≥ 1.1.0 ≤ 1.12.5

Official sources

References

Links published by the sources. Open them with care.