Original description
Gitea before 1.16.7 does not escape git fetch remote.
Affected software
- Gitea < 1.16.7* Fixed in: 1.16.7 exact match
Details
- Published
- 2022-05-16
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- CWE
- CWE-116
- EPSS (30-day exploit probability)
- 87.93% (percentile 100)
References
- cve.org/CVE-2022-30781
- nvd.nist.gov/vuln/detail/CVE-2022-30781
- packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html
- packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html
- blog.gitea.io/2022/05/gitea-1.16.7-is-released/
- github.com/go-gitea/gitea/pull/19487
- github.com/go-gitea/gitea/pull/19490
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.