CVE-2022-1058: Open Redirect on login in go-gitea/gitea

CVE-2022-1058 affects 40 listed versions of Gitea in the Dawnsentry catalogue.

6.1CVSS medium
Proof of concept publicexploitation
53%EPSS (next 30 days)
24 March 2022published

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

40 of 124 listed versions are affected. Fixed in 1.16.5. The newest release, 28.4.0, is not affected.

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

What it is

Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)

Published by huntrdev on 24 March 2022. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2022-1058 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.