CVE-2022-30781: Gitea before 1.16.7 does not escape git fetch remote.
CVE-2022-30781 affects 42 listed versions of Gitea in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Gitea
42 of 124 listed versions are affected. Fixed in 1.16.7. The newest release, 28.4.0, is not affected.
1.16.6 1.16.5 1.16.4 1.16.3 1.16.2 1.16.1 1.16.0 1.15.11 1.15.10 1.15.9 1.15.8 1.15.7 1.15.6 1.15.5 1.15.4 1.15.3 1.15.2 1.15.1 1.15.0 1.13.6 1.13.4 1.13.1 1.12.6 1.12.5 1.11.5 1.11.2 1.8.0 1.8.0-rc2 1.8.0-rc1 1.7.6 1.7.3 1.7.2 1.7.1 1.7.0 1.6.2 1.5.4 1.5.2 1.5.1 1.5.0 1.5.0-rc2 1.5.0-rc1 1.4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD)
Published by MITRE on 16 May 2022. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2022-30781 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.