Skip to content
Emerging threatsHigh

CVE-2020-14144Gitea OS Command Injection

Arbitrary Code Execution in Gitea

Published Oct 16, 2020 · Updated Oct 24, 2026 · Also known as BIT-gitea-2020-14144, GHSA-3h6c-c475-jm7v

Key Facts

Patch immediately
  • CVE-2020-14144 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Gitea, code.gitea.io/gitea (go).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 99% probability of exploitation in the next 30 days.
  • Fixed versions are available, including code.gitea.io/gitea 1.12.6, Gitea 1.12.6, Gitea <=1.12.5.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

7.2

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

99%

Higher than 99.9% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

70/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

5 affected entries in total
ProductAffected versionsFixed in
GiteaGitea>= 1.1.01.12.5
code.gitea.io/giteago>= 1.1.01.12.6

Patched Releases

code.gitea.io/gitea

1.12.6

Gitea

1.12.6, <=1.12.5

Timeline

  1. Publicly disclosed

    Oct 16, 2020

  2. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

14 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2020-14144 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.