CVE-2019-11229
HighPublic exploitGitea Remote Code Execution
Published Feb 15, 2022 · Updated Aug 7, 2026 · Also known as GHSA-hpmr-prr2-cqc4, GO-2022-0846
Key Facts
Patch immediately- CVE-2019-11229 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Gitea, github.com/go-gitea/gitea (go).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 55% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gitea 1.7.6, github.com/go-gitea/gitea 1.7.6.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
55%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2019-11229 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GiteaGitea | 1.8.0-rc1, 1.8.0-rc2 | 1.7.6 |
| github.com/go-gitea/giteago | See advisory | 1.7.6 |
Patched Releases
Gitea
1.7.6
github.com/go-gitea/gitea
1.7.6
Timeline
Publicly disclosed
Feb 15, 2022
Last updated
Aug 7, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-11229
- articlehttp://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html
- articlehttps://github.com/go-gitea/gitea/pull/6593
- articlehttps://github.com/go-gitea/gitea/pull/6595
FAQ
Common Questions.
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.
Affected: Gitea versions 1.8.0-rc1, 1.8.0-rc2; github.com/go-gitea/gitea (go). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Gitea 1.7.6, github.com/go-gitea/gitea 1.7.6.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2019-11229 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo